diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-25 06:20:59 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-25 06:20:59 +0200 |
commit | 92a56e52f7d4e843aea375f687a0c829f4003abd (patch) | |
tree | 8da7ebccf5e7f40bac73ff5d56aa88bd6060a18a /facetracknoir | |
parent | 0a41cdc4d9bfaea20cfe07d71070f235c3bb8de6 (diff) |
shortcuts: clarify binding dialog
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/keyboard_listener.ui | 2 | ||||
-rw-r--r-- | facetracknoir/options-dialog.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/facetracknoir/keyboard_listener.ui b/facetracknoir/keyboard_listener.ui index 69ec530d..b6977df0 100644 --- a/facetracknoir/keyboard_listener.ui +++ b/facetracknoir/keyboard_listener.ui @@ -23,7 +23,7 @@ <string>Bind a shortcut</string> </property> <property name="text"> - <string><html><head/><body><p>Press a key or close this window to cancel.</p></body></html></string> + <string><html><head/><body><p>Press a key or close this window to remove the keybinding.</p></body></html></string> </property> <property name="textFormat"> <enum>Qt::RichText</enum> diff --git a/facetracknoir/options-dialog.cpp b/facetracknoir/options-dialog.cpp index 8ac95b71..b90408a8 100644 --- a/facetracknoir/options-dialog.cpp +++ b/facetracknoir/options-dialog.cpp @@ -68,7 +68,7 @@ void OptionsDialog::bind_key(value<QString>& ret, QLabel* label) auto k = new KeyboardListener; l->addWidget(k); d.setLayout(l); - d.setFixedSize(QSize(500, 500)); + d.setFixedSize(QSize(500, 300)); d.setWindowFlags(Qt::Dialog); connect(k, &KeyboardListener::key_pressed, [&] (QKeySequence s) -> void { ret = s.toString(QKeySequence::PortableText); d.close(); }); d.exec(); |