aboutsummaryrefslogtreecommitdiff
path: root/src/browser.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-05-26 09:39:56 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-05-26 09:39:56 +0200
commitd8bb83aac827f8ccc959a716834e6e4ffb2927ed (patch)
tree93c37d473ba37b0582a4fd029e6d3ed8f421cb31 /src/browser.h
parentDock widget shortcut toggle widget visibility (diff)
downloadsmolbote-d8bb83aac827f8ccc959a716834e6e4ffb2927ed.tar.xz
Profile command
Diffstat (limited to 'src/browser.h')
-rw-r--r--src/browser.h4
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