forked from qt-creator/qt-creator
Refactor the shortcut management for plugin macros
When saving a macro, a shortcut is created and the user can change the shortcut in Options->Keyboard. When the macro is removed, the shortcut is removed from the actionManager using the removeShortcut method. This is way simpler than before, where a number of default shortcuts where defined and macros took the empty space. Merge-request: 236 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
f3d7bbff0c
commit
1f1656163c
@@ -67,8 +67,3 @@ bool SaveDialog::hideSaveDialog() const
|
||||
{
|
||||
return ui->hideSaveDialog->isChecked();
|
||||
}
|
||||
|
||||
bool SaveDialog::createShortcut() const
|
||||
{
|
||||
return ui->createShortcut->isChecked();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user