Faster theme changes

Don't wait too long after the file changed, makes theme changes be
picked up half a second faster -- noticeable for the user.
This commit is contained in:
Sebastian Kügler 2014-02-21 01:20:27 +01:00
parent d8ea983d45
commit 29cf8e22d2

View File

@ -77,7 +77,7 @@ ThemePrivate::ThemePrivate(QObject *parent)
updateNotificationTimer = new QTimer(this);
updateNotificationTimer->setSingleShot(true);
updateNotificationTimer->setInterval(500);
updateNotificationTimer->setInterval(100);
QObject::connect(updateNotificationTimer, SIGNAL(timeout()), this, SLOT(notifyOfChanged()));
if (QPixmap::defaultDepth() > 8) {