[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdevplatform/5.0] shell/progresswidget: progress widget: hide persistenly when completed
From:       Sven Brauch <mail () svenbrauch ! de>
Date:       2016-01-31 0:57:46
Message-ID: E1aPgKo-0001Ab-KN () scm ! kde ! org
[Download RAW message or body]

Git commit 74d349bc85b0754729fb0b66c9104e5909f2cdc4 by Sven Brauch.
Committed on 31/01/2016 at 00:57.
Pushed by brauch into branch '5.0'.

progress widget: hide persistenly when completed

Nobody ever wants to open this widget and then have it pop up
again for every character typed. Plus, it can even be hard
to get rid of it because you only have a split-second to
click the hide button for small files.
Instead, once the current set of jobs is completed,
close the widget and only re-open it on request.

M  +1    -0    shell/progresswidget/progressdialog.cpp

http://commits.kde.org/kdevplatform/74d349bc85b0754729fb0b66c9104e5909f2cdc4

diff --git a/shell/progresswidget/progressdialog.cpp b/shell/progresswidget/progressdialog.cpp
index 1c44d0b..f6885b3 100644
--- a/shell/progresswidget/progressdialog.cpp
+++ b/shell/progresswidget/progressdialog.cpp
@@ -380,6 +380,7 @@ void ProgressDialog::slotHide()
     if ( mTransactionsToListviewItems.isEmpty() ) {
         setVisible( false );
     }
+    mWasLastShown = false;
 }
 
 void ProgressDialog::slotClose()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic