Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Emdek committed Oct 24, 2013
1 parent 620c767 commit 8d02c15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ShortcutEditorWidget.cpp
Expand Up @@ -23,14 +23,12 @@ ShortcutEditorWidget::ShortcutEditorWidget(const QString &action, const QString

m_clearButton->setToolTip(tr("Clear"));
m_clearButton->setIcon(QIcon(":/icons/edit-clear-locationbar-rtl.png"));
m_clearButton->setCheckable(false);
m_clearButton->setEnabled(!shortcut.isEmpty());

m_restoreButton->setToolTip(tr("Restore Default"));
m_restoreButton->setIcon(QIcon(":/icons/edit-undo.png"));

shortcutChanged();
setLayout(layout);

setFocusPolicy(Qt::StrongFocus);

connect(m_sequenceEdit, SIGNAL(keySequenceChanged(QKeySequence)), this, SLOT(shortcutChanged()));
Expand Down

0 comments on commit 8d02c15

Please sign in to comment.