mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-07 15:32:13 +00:00
Warning removing
This commit is contained in:
parent
2e79090a11
commit
7e493f6cb4
@ -149,7 +149,7 @@ void MainWindow::initUI()
|
|||||||
backButton->setIcon(QIcon(":/img/icons/arrow_left.svg"));
|
backButton->setIcon(QIcon(":/img/icons/arrow_left.svg"));
|
||||||
//backButton->setPopupMode(QToolButton::DelayedPopup);
|
//backButton->setPopupMode(QToolButton::DelayedPopup);
|
||||||
ui->mainToolBar->insertWidget(ui->actionForward, backButton);
|
ui->mainToolBar->insertWidget(ui->actionForward, backButton);
|
||||||
connect(backButton, SIGNAL(clicked()), this, SLOT(on_backButton_clicked()));
|
connect(backButton, SIGNAL(clicked()), this, SLOT(backButton_clicked()));
|
||||||
|
|
||||||
// Sepparator between undo/redo and goto lineEdit
|
// Sepparator between undo/redo and goto lineEdit
|
||||||
QWidget *spacer3 = new QWidget();
|
QWidget *spacer3 = new QWidget();
|
||||||
@ -193,7 +193,7 @@ void MainWindow::initUI()
|
|||||||
if (syntax == checked) {
|
if (syntax == checked) {
|
||||||
action->setChecked(true);
|
action->setChecked(true);
|
||||||
}
|
}
|
||||||
connect(action, SIGNAL(triggered(bool)), this, SLOT(on_actionAsm_syntax_triggered()));
|
connect(action, SIGNAL(triggered()), this, SLOT(actionAsm_syntax_triggered()));
|
||||||
asmSyntaxes.append(action);
|
asmSyntaxes.append(action);
|
||||||
ui->menuAsm_syntax->addAction(action);
|
ui->menuAsm_syntax->addAction(action);
|
||||||
}
|
}
|
||||||
@ -806,7 +806,7 @@ void MainWindow::refreshMem()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void MainWindow::on_backButton_clicked()
|
void MainWindow::backButton_clicked()
|
||||||
{
|
{
|
||||||
QList<RVA> seek_history = core->getSeekHistory();
|
QList<RVA> seek_history = core->getSeekHistory();
|
||||||
this->core->cmd("s-");
|
this->core->cmd("s-");
|
||||||
@ -1111,7 +1111,7 @@ void MainWindow::on_actionDisplay_Offsets_triggered()
|
|||||||
refreshVisibleDockWidgets();
|
refreshVisibleDockWidgets();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionAsm_syntax_triggered()
|
void MainWindow::actionAsm_syntax_triggered()
|
||||||
{
|
{
|
||||||
QObject* sender = QObject::sender();
|
QObject* sender = QObject::sender();
|
||||||
// Uncheck every other choices
|
// Uncheck every other choices
|
||||||
|
@ -120,7 +120,7 @@ public slots:
|
|||||||
|
|
||||||
void toggleResponsive(bool maybe);
|
void toggleResponsive(bool maybe);
|
||||||
|
|
||||||
void on_backButton_clicked();
|
void backButton_clicked();
|
||||||
|
|
||||||
void refreshVisibleDockWidgets();
|
void refreshVisibleDockWidgets();
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ private slots:
|
|||||||
|
|
||||||
void on_actionDisplay_Offsets_triggered();
|
void on_actionDisplay_Offsets_triggered();
|
||||||
|
|
||||||
void on_actionAsm_syntax_triggered();
|
void actionAsm_syntax_triggered();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QDockWidget *asmDock;
|
QDockWidget *asmDock;
|
||||||
|
@ -486,6 +486,12 @@ QToolButton .svg-icon path {
|
|||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionLock">
|
<action name="actionLock">
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Toggle Panel Locks</string>
|
<string>Toggle Panel Locks</string>
|
||||||
</property>
|
</property>
|
||||||
@ -647,6 +653,9 @@ QToolButton .svg-icon path {
|
|||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionTabs_on_Top">
|
<action name="actionTabs_on_Top">
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Toggle Tab Position</string>
|
<string>Toggle Tab Position</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -39,11 +39,11 @@ private slots:
|
|||||||
|
|
||||||
void on_actionVertical_triggered();
|
void on_actionVertical_triggered();
|
||||||
|
|
||||||
|
void refreshTree();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::CommentsWidget *ui;
|
Ui::CommentsWidget *ui;
|
||||||
MainWindow *main;
|
MainWindow *main;
|
||||||
|
|
||||||
void refreshTree();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // COMMENTSWIDGET_H
|
#endif // COMMENTSWIDGET_H
|
||||||
|
@ -1941,7 +1941,7 @@ void MemoryWidget::selectHexPreview()
|
|||||||
void MemoryWidget::seek_back()
|
void MemoryWidget::seek_back()
|
||||||
{
|
{
|
||||||
//this->main->add_debug_output("Back!");
|
//this->main->add_debug_output("Back!");
|
||||||
this->main->on_backButton_clicked();
|
this->main->backButton_clicked();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MemoryWidget::frameLoadFinished(bool ok)
|
void MemoryWidget::frameLoadFinished(bool ok)
|
||||||
|
Loading…
Reference in New Issue
Block a user