aboutsummaryrefslogtreecommitdiff
path: root/module/topmenumenubarimpl.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-05-24 15:52:37 +0200
committerJavier <dev.git@javispedro.com>2014-05-24 15:52:37 +0200
commitf823791f692e6aeca3f0a855c5e10c02bb48cbde (patch)
treee93b9f4663439b6d7217716c9b75305da55b8321 /module/topmenumenubarimpl.h
parent09e8212de806d76d9fdc468df8fa38ee2183eb1e (diff)
downloadtopmenu-qt-f823791f692e6aeca3f0a855c5e10c02bb48cbde.tar.gz
topmenu-qt-f823791f692e6aeca3f0a855c5e10c02bb48cbde.zip
fix a crash that happened when the server crashed
Diffstat (limited to 'module/topmenumenubarimpl.h')
-rw-r--r--module/topmenumenubarimpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/topmenumenubarimpl.h b/module/topmenumenubarimpl.h
index 49e8d83..4f7bff8 100644
--- a/module/topmenumenubarimpl.h
+++ b/module/topmenumenubarimpl.h
@@ -42,6 +42,8 @@ public:
bool shortcutsHandledByNativeMenuBar() const;
bool menuBarEventFilter(QObject *, QEvent *event);
+ void updateServerAvailability();
+
protected:
GtkMenuItem * addAction(QAction* action, QAction* before, QMenu* parent);
void removeAction(QAction* action);