]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/statusbarspaceinfo.cpp
use "Sort by" instead of "Sort By"
[dolphin.git] / src / statusbarspaceinfo.cpp
index ef65149bd2401f3626175ca4ce575d31595a100d..117d63f166919ee760fdf4b20896a578698335dd 100644 (file)
@@ -99,7 +99,7 @@ void StatusBarSpaceInfo::paintEvent(QPaintEvent* /* event */)
             text = i18nc("@info:status", "Getting size...");
         } else {
             text = QString();
-            QTimer::singleShot(0, this, SLOT(hide()));
+            QMetaObject::invokeMethod(this, "hide", Qt::QueuedConnection);
         }
     }