Try to fix bug #303

This commit is contained in:
Laurent Trinques
2024-05-08 19:18:48 +02:00
parent 5492cd3f71
commit c7d6312997
2 changed files with 7 additions and 2 deletions

View File

@@ -1010,8 +1010,10 @@ void QETElementEditor::setupActions()
#ifndef Q_OS_MAC #ifndef Q_OS_MAC
ui->m_delete_action -> setShortcut(QKeySequence(Qt::Key_Delete)); ui->m_delete_action -> setShortcut(QKeySequence(Qt::Key_Delete));
ui->m_quit_action -> setShortcut(QKeySequence(tr("Ctrl+Q")));
#else #else
ui->m_delete_action -> setShortcut(QKeySequence(tr("Backspace"))); ui->m_delete_action -> setShortcut(QKeySequence(tr("Backspace")));
ui->m_quit_action -> setShortcut(QKeySequence(tr("Ctrl+W")));
#endif #endif
//Depth action //Depth action

View File

@@ -25,7 +25,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>800</width> <width>800</width>
<height>21</height> <height>33</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="m_file_menu"> <widget class="QMenu" name="m_file_menu">
@@ -283,7 +283,10 @@
<normaloff>:/ico/16x16/application-exit.png</normaloff>:/ico/16x16/application-exit.png</iconset> <normaloff>:/ico/16x16/application-exit.png</normaloff>:/ico/16x16/application-exit.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Quitter</string> <string>&amp;Fermer cet éditeur</string>
</property>
<property name="toolTip">
<string>Fermer cet éditeur</string>
</property> </property>
</action> </action>
<action name="m_deselect_all_action"> <action name="m_deselect_all_action">