mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 00:35:05 +00:00
Merge pull request #44 from ballessay/fb_quit_menu_entry
adding a quit menu entry
This commit is contained in:
commit
a48bac29d0
@ -1107,3 +1107,8 @@ void MainWindow::on_actionReset_settings_triggered()
|
||||
settings.clear();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_actionQuit_triggered()
|
||||
{
|
||||
close();
|
||||
}
|
||||
|
@ -186,6 +186,8 @@ private slots:
|
||||
|
||||
void on_actionReset_settings_triggered();
|
||||
|
||||
void on_actionQuit_triggered();
|
||||
|
||||
private:
|
||||
void refreshFlagspaces();
|
||||
bool doLock;
|
||||
|
@ -347,6 +347,7 @@ QToolButton { /* all types of tool button */
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionRun_Script"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionQuit"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuTools">
|
||||
<property name="title">
|
||||
@ -1087,6 +1088,14 @@ background: rgb(64, 64, 64);</string>
|
||||
<string>Reset settings</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionQuit">
|
||||
<property name="text">
|
||||
<string>Quit</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Q</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<resources>
|
||||
|
Loading…
Reference in New Issue
Block a user