diff options
-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(); |