Don't show message window again once it was hidden

The message window was shown again after a new message.
This commit is contained in:
Roland Winklmeier
2018-02-23 21:40:37 +01:00
committed by Klaus Basan
parent af8779142c
commit 64ea29dd39
2 changed files with 4 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ namespace XSwiftBus
CService::CService(QObject *parent) : QObject(parent)
{
m_messages.addMessage( { "xswiftbus started.", 0, 255, 255 } );
m_airportUpdater = new QTimer(this);
m_airportUpdater->start(60000);
connect(m_airportUpdater, &QTimer::timeout, this, &CService::updateAirportsInRange);