X-Plane menu improvements

* Remove start items with DBus details and replace them with a single start
* Add an item to toggle the message box
This commit is contained in:
Roland Winklmeier
2018-02-17 11:55:28 +01:00
committed by Klaus Basan
parent ff37704a59
commit 7f6dd61bb3
4 changed files with 15 additions and 6 deletions

View File

@@ -58,7 +58,8 @@ namespace XSwiftBus
CTraffic *m_traffic = nullptr;
CWeather *m_weather = nullptr;
CMenu m_menu;
QVector<CMenuItem> m_startServerMenuItems;
CMenuItem m_startServerMenuItem;
CMenuItem m_toggleMessageWindowMenuItem;
void startServer(const QString &address);
void tryStartServer(const QString &address);