summaryrefslogtreecommitdiffstats
path: root/knotes
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-06-17 14:08:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-06-17 18:41:51 +0900
commite3f08f5470ced9e6c0fa639e0b3718cdfd23295e (patch)
tree6c80324ca4a343629d92ce8ec982128344632535 /knotes
parent1dd5c815d1309da97e0c40d25e20dd50d50d2430 (diff)
downloadtdepim-e3f08f5470ced9e6c0fa639e0b3718cdfd23295e.tar.gz
tdepim-e3f08f5470ced9e6c0fa639e0b3718cdfd23295e.zip
Removed global shortcuts in KNotes. This conflicted with some shortcut in widely used applications, like midnight commander for example.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d8ac253a08d90dab6118bbc48de1af1f5d8b7056)
Diffstat (limited to 'knotes')
-rw-r--r--knotes/knotesapp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/knotes/knotesapp.cpp b/knotes/knotesapp.cpp
index 5cc2635c2..7c520d54e 100644
--- a/knotes/knotesapp.cpp
+++ b/knotes/knotesapp.cpp
@@ -149,16 +149,16 @@ KNotesApp::KNotesApp()
// create accels for global shortcuts
m_globalAccel = new TDEGlobalAccel( TQT_TQOBJECT(this), "global accel" );
m_globalAccel->insert( "global_new_note", i18n("New Note"), "",
- ALT+SHIFT+Key_N, ALT+SHIFT+Key_N ,
+ TDEShortcut(), TDEShortcut(),
TQT_TQOBJECT(this), TQT_SLOT(newNote()), true, true );
m_globalAccel->insert( "global_new_note_clipboard", i18n("New Note From Clipboard"), "",
- ALT+SHIFT+Key_C, ALT+SHIFT+Key_C,
+ TDEShortcut(), TDEShortcut(),
TQT_TQOBJECT(this), TQT_SLOT(newNoteFromClipboard()), true, true );
m_globalAccel->insert( "global_hide_all_notes", i18n("Hide All Notes"), "",
- ALT+SHIFT+Key_H, ALT+SHIFT+Key_H ,
+ TDEShortcut(), TDEShortcut(),
TQT_TQOBJECT(this), TQT_SLOT(hideAllNotes()), true, true );
m_globalAccel->insert( "global_show_all_notes", i18n("Show All Notes"), "",
- ALT+SHIFT+Key_S, ALT+SHIFT+Key_S,
+ TDEShortcut(), TDEShortcut(),
TQT_TQOBJECT(this), TQT_SLOT(showAllNotes()), true, true );
m_globalAccel->readSettings();