aboutsummaryrefslogtreecommitdiff
path: root/include/widgets
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/widgets/InputLine.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/widgets/InputLine.hpp b/include/widgets/InputLine.hpp
index 07b6e92..45aa559 100644
--- a/include/widgets/InputLine.hpp
+++ b/include/widgets/InputLine.hpp
@@ -21,7 +21,9 @@ public:
DELEGATE(input, hasFocus, isInputFocussed)
DELEGATE(input, setText, setInputText)
DELEGATE(input, text, getInputText)
- DELEGATE(adapterInstance, prompt, prompt)
+ DELEGATE(promptPrefix, text, prompt)
+
+ // bool eventFilter(QObject *obj, QEvent *event) override;
signals:
void submitted(QString text);
@@ -32,7 +34,6 @@ protected:
void emitSubmit();
private:
- QBoxLayout *layout;
QLineEdit *input;
QLabel *promptPrefix;
Adapter *adapterInstance = nullptr;