diff options
| author | Peter Penz <[email protected]> | 2007-01-31 22:03:35 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-01-31 22:03:35 +0000 |
| commit | cd3df82730865636c92c5bb9f38a0490c0deffaa (patch) | |
| tree | c95b4c58a7944681b676cf27c425ec00757e84eb /src/statusbarspaceinfo.cpp | |
| parent | 5a0b3330d66db6ef72e8c302065968f1886526e3 (diff) | |
Queue error messages so that a currently shown error message is not replaced until the user confirmed the reading. If there are no pending error messages and a timeout has been exceeded, the currently shown error messages automatically fades out as soon as the user triggered another action. This behavior should correspond to Ellens suggestions (I hope :-)).
svn path=/trunk/playground/utils/dolphin/; revision=628905
Diffstat (limited to 'src/statusbarspaceinfo.cpp')
| -rw-r--r-- | src/statusbarspaceinfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp index fca7bdd0b..b61cf3f45 100644 --- a/src/statusbarspaceinfo.cpp +++ b/src/statusbarspaceinfo.cpp @@ -59,8 +59,8 @@ void StatusBarSpaceInfo::paintEvent(QPaintEvent* /* event */) { QPainter painter(this); const int barWidth = width(); - const int barTop = 2; - const int barHeight = height() - 4; + const int barTop = 1; + const int barHeight = height() - 5; QString text; @@ -98,7 +98,7 @@ void StatusBarSpaceInfo::paintEvent(QPaintEvent* /* event */) text = i18n("Getting size..."); } else { - text = ""; + text = QString::null; QTimer::singleShot(0, this, SLOT(hide())); } } |
