From b416c1891681add15c57b1d60762d4543190a151 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 27 Jan 2017 00:54:57 +0100 Subject: [PATCH] Make sure that the menu is initialized upon start. Otherwise it won't be initialized until some devices are added. --- indicator/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indicator/main.cpp b/indicator/main.cpp index 0552f6c06..7a00987c5 100644 --- a/indicator/main.cpp +++ b/indicator/main.cpp @@ -89,5 +89,7 @@ int main(int argc, char** argv) systray.setToolTip(i18np("%1 device connected", "%1 devices connected", model.rowCount())); }); + refreshMenu(); + return app.exec(); }