summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/keyboard_listener.ui2
-rw-r--r--facetracknoir/options-dialog.cpp2
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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Press a key or close this window to cancel.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Press a key or close this window to remove the keybinding.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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();