From 0d5b7cb2a8bea5d91c58dd40f80d60bca384b766 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 11 Mar 2025 22:56:07 +0530 Subject: Add command+url evaluation --- include/widgets/InputLine.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/widgets/InputLine.hpp') diff --git a/include/widgets/InputLine.hpp b/include/widgets/InputLine.hpp index 2324f18..1d98c9a 100644 --- a/include/widgets/InputLine.hpp +++ b/include/widgets/InputLine.hpp @@ -18,6 +18,7 @@ public: QString getInputCommand(); void setInputText(QString text); void setAdapter(Adapter *adapter); + Adapter *adapter(); signals: void submitted(QString command); @@ -31,5 +32,5 @@ private: QBoxLayout *layout; QLineEdit *input; QLabel *promptPrefix; - Adapter *adapter = nullptr; + Adapter *adapterInstance = nullptr; }; -- cgit v1.3.1