[qet] [821] Le raccourci clavier pour l'action "Supprimer" n' etait plus reconnu sous Windows.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 821
Author:   xavier
Date:     2009-12-28 01:27:13 +0100 (Mon, 28 Dec 2009)
Log Message:
-----------
Le raccourci clavier pour l'action "Supprimer" n'etait plus reconnu sous Windows.

Modified Paths:
--------------
    branches/0.3/sources/editor/qetelementeditor.cpp
    branches/0.3/sources/qetdiagrameditor.cpp

Modified: branches/0.3/sources/editor/qetelementeditor.cpp
===================================================================
--- branches/0.3/sources/editor/qetelementeditor.cpp	2009-12-27 22:46:35 UTC (rev 820)
+++ branches/0.3/sources/editor/qetelementeditor.cpp	2009-12-28 00:27:13 UTC (rev 821)
@@ -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: branches/0.3/sources/qetdiagrameditor.cpp
===================================================================
--- branches/0.3/sources/qetdiagrameditor.cpp	2009-12-27 22:46:35 UTC (rev 820)
+++ branches/0.3/sources/qetdiagrameditor.cpp	2009-12-28 00:27:13 UTC (rev 821)
@@ -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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/