Make sure that the menu is initialized upon start.
Otherwise it won't be initialized until some devices are added.
This commit is contained in:
parent
aa1dff34ae
commit
b416c18916
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue