Commit 63ed623e authored by Jan Möbius's avatar Jan Möbius
Browse files

Dennis:

Connect-slot-correctly-to-register-modifier-as-mult



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5696 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 80fd8c98
...@@ -449,8 +449,8 @@ void CoreWidget::saveKeyBindings(INIFile& _ini){ ...@@ -449,8 +449,8 @@ void CoreWidget::saveKeyBindings(INIFile& _ini){
void CoreWidget::registerCoreKeys() { void CoreWidget::registerCoreKeys() {
//register keys for coreWidget //register keys for coreWidget
connect(this , SIGNAL( registerKey(int, Qt::KeyboardModifiers, QString) ), connect(this , SIGNAL( registerKey(int, Qt::KeyboardModifiers, QString, bool) ),
this , SLOT(slotRegisterKey(int, Qt::KeyboardModifiers, QString)) ); this , SLOT(slotRegisterKey(int, Qt::KeyboardModifiers, QString, bool)) );
emit registerKey(Qt::Key_Print , Qt::NoModifier, "Create Snapshot"); emit registerKey(Qt::Key_Print , Qt::NoModifier, "Create Snapshot");
emit registerKey(Qt::Key_S , Qt::ControlModifier, "Save Object"); emit registerKey(Qt::Key_S , Qt::ControlModifier, "Save Object");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment