┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/statusbarspaceinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statusbarspaceinfo.cpp')
-rw-r--r--src/statusbarspaceinfo.cpp8
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);
}