diff options
Diffstat (limited to 'src/statusbarspaceinfo.cpp')
| -rw-r--r-- | src/statusbarspaceinfo.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp index bccda6e68..fca7bdd0b 100644 --- a/src/statusbarspaceinfo.cpp +++ b/src/statusbarspaceinfo.cpp @@ -132,13 +132,9 @@ void StatusBarSpaceInfo::slotFoundMountPoint(const unsigned long& kBSize, update(); } -void StatusBarSpaceInfo::slotDone() +void StatusBarSpaceInfo::showResult() { m_gettingSize = false; - if ((m_kBSize > 0) && (m_kBAvailable > 0)) { - show(); - } - update(); } @@ -160,7 +156,7 @@ void StatusBarSpaceInfo::refresh() const unsigned long&, const QString& ))); connect(job, SIGNAL(done()), - this, SLOT(slotDone())); + this, SLOT(showResult())); job->readDF(mountPoint); } |
