Delay for 1/2 second before checking if dynamic is running - gives everything time to be set-up.

This commit is contained in:
craig.p.drummond
2013-01-18 20:13:33 +00:00
committed by craig.p.drummond
parent 5995343070
commit b8b0bdb271

View File

@@ -93,7 +93,7 @@ Dynamic::Dynamic()
connect(this, SIGNAL(clear()), MPDConnection::self(), SLOT(clear()));
connect(MPDConnection::self(), SIGNAL(dynamicUrl(const QString &)), this, SLOT(dynamicUrlChanged(const QString &)));
connect(MPDConnection::self(), SIGNAL(statusUpdated(const MPDStatusValues &)), this, SLOT(checkRemoteHelper()));
QTimer::singleShot(0, this, SLOT(checkHelper()));
QTimer::singleShot(500, this, SLOT(checkHelper()));
}
QVariant Dynamic::headerData(int, Qt::Orientation, int) const