mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-18 18:38:51 +00:00
Deduplicate seek forward and backward action. (#1844)
This commit is contained in:
parent
f64972fda2
commit
771217d70a
@ -1283,16 +1283,6 @@ void MainWindow::on_actionForward_triggered()
|
||||
core->seekNext();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionUndoSeek_triggered()
|
||||
{
|
||||
core->seekPrev();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionRedoSeek_triggered()
|
||||
{
|
||||
core->seekNext();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionDisasAdd_comment_triggered()
|
||||
{
|
||||
CommentsDialog c(this);
|
||||
|
@ -168,8 +168,6 @@ private slots:
|
||||
|
||||
void on_actionBackward_triggered();
|
||||
void on_actionForward_triggered();
|
||||
void on_actionUndoSeek_triggered();
|
||||
void on_actionRedoSeek_triggered();
|
||||
|
||||
void on_actionOpen_triggered();
|
||||
|
||||
|
@ -113,8 +113,8 @@
|
||||
<string>Edit</string>
|
||||
</property>
|
||||
<addaction name="actionSearch"/>
|
||||
<addaction name="actionUndoSeek"/>
|
||||
<addaction name="actionRedoSeek"/>
|
||||
<addaction name="actionBackward"/>
|
||||
<addaction name="actionForward"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionPreferences"/>
|
||||
</widget>
|
||||
@ -293,16 +293,6 @@
|
||||
<string>Ctrl+S</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionUndoSeek">
|
||||
<property name="text">
|
||||
<string>Undo Seek</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRedoSeek">
|
||||
<property name="text">
|
||||
<string>Redo Seek</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionCut">
|
||||
<property name="text">
|
||||
<string>Cut</string>
|
||||
@ -358,7 +348,7 @@
|
||||
<normaloff>:/img/icons/arrow_left.svg</normaloff>:/img/icons/arrow_left.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Back</string>
|
||||
<string>Undo Seek</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Go back</string>
|
||||
@ -370,7 +360,7 @@
|
||||
<normaloff>:/img/icons/arrow_right.svg</normaloff>:/img/icons/arrow_right.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Forward</string>
|
||||
<string>Redo Seek</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionLock">
|
||||
@ -886,11 +876,6 @@
|
||||
<string>Save As...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionTmp">
|
||||
<property name="text">
|
||||
<string>Tmp</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionGraph">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
|
Loading…
Reference in New Issue
Block a user