diff options
Diffstat (limited to 'src/browser.h')
-rw-r--r-- | src/browser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/browser.h b/src/browser.h index e5df9de..0a0d956 100644 --- a/src/browser.h +++ b/src/browser.h @@ -35,7 +35,7 @@ public: void setConfiguration(std::shared_ptr<Configuration> &config); void setup(const QString &defaultProfile); - void command(const QString &command); + int command(const QString &command); QStringList commands() const { return m_commands.keys(); @@ -53,7 +53,7 @@ private: QVector<MainWindow *> m_windows; QVector<Plugin> m_plugins; - QHash<QString, std::function<void()>> m_commands; + QHash<QString, std::function<int()>> m_commands; }; #endif // SMOLBOTE_BROWSER_H |