diff options
| author | Peter Penz <[email protected]> | 2007-08-31 05:16:04 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-08-31 05:16:04 +0000 |
| commit | 5e27ba1de2155585c7141cc9e0a6540945c5ca24 (patch) | |
| tree | e165cfcec2266f9b0913dd34fd6bb4e4f8d75217 /src/dolphinstatusbar.cpp | |
| parent | 52648c9634f60ce2fe84dd888daa9f20fb967f9e (diff) | |
as David pointed out: Qt4 has a nicer approach for asynchronous events than using QTimer
svn path=/trunk/KDE/kdebase/apps/; revision=706669
Diffstat (limited to 'src/dolphinstatusbar.cpp')
| -rw-r--r-- | src/dolphinstatusbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinstatusbar.cpp b/src/dolphinstatusbar.cpp index b2c621dbd..a6bc03224 100644 --- a/src/dolphinstatusbar.cpp +++ b/src/dolphinstatusbar.cpp @@ -144,7 +144,7 @@ const QString& DolphinStatusBar::defaultText() const void DolphinStatusBar::resizeEvent(QResizeEvent* event) { QWidget::resizeEvent(event); - QTimer::singleShot(0, this, SLOT(showSpaceInfo())); + QMetaObject::invokeMethod(this, "showSpaceInfo", Qt::QueuedConnection); } void DolphinStatusBar::updateProgressInfo() |
