[qet] [822] Le raccourci clavier pour l'action "Supprimer" n' etait plus reconnu sous Windows. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 822
Author: xavier
Date: 2009-12-28 01:29:35 +0100 (Mon, 28 Dec 2009)
Log Message:
-----------
Le raccourci clavier pour l'action "Supprimer" n'etait plus reconnu sous Windows.
Modified Paths:
--------------
trunk/sources/editor/qetelementeditor.cpp
trunk/sources/qetdiagrameditor.cpp
Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp 2009-12-28 00:27:13 UTC (rev 821)
+++ trunk/sources/editor/qetelementeditor.cpp 2009-12-28 00:29:35 UTC (rev 822)
@@ -152,7 +152,7 @@
paste -> setShortcut(QKeySequence::Paste);
paste_in_area -> setShortcut(tr("Ctrl+Shift+V"));
#ifndef Q_WS_MAC
- edit_delete -> setShortcut(QKeySequence(tr("Suppr")));
+ edit_delete -> setShortcut(QKeySequence(Qt::Key_Delete));
#else
edit_delete -> setShortcut(QKeySequence(tr("Backspace")));
#endif
Modified: trunk/sources/qetdiagrameditor.cpp
===================================================================
--- trunk/sources/qetdiagrameditor.cpp 2009-12-28 00:27:13 UTC (rev 821)
+++ trunk/sources/qetdiagrameditor.cpp 2009-12-28 00:29:35 UTC (rev 822)
@@ -253,7 +253,7 @@
select_nothing -> setShortcut(QKeySequence(tr("Ctrl+Shift+A")));
select_invert -> setShortcut(QKeySequence(tr("Ctrl+I")));
#ifndef Q_WS_MAC
- delete_selection -> setShortcut(QKeySequence(tr("Suppr")));
+ delete_selection -> setShortcut(QKeySequence(Qt::Key_Delete));
#else
delete_selection -> setShortcut(QKeySequence(tr("Backspace")));
#endif