[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [rkward] rkward/windows: Fix disappearing status label issue
From: Thomas Friedrichsmeier <null () kde ! org>
Date: 2018-09-28 20:28:42
Message-ID: E1g5zNS-0007fo-4v () code ! kde ! org
[Download RAW message or body]
Git commit 14cde5ec17bef471463c9555b9240d939cd768c6 by Thomas Friedrichsmei=
er.
Committed on 28/09/2018 at 20:20.
Pushed by tfry into branch 'master'.
Fix disappearing status label issue
M +2 -4 rkward/windows/rkmdiwindow.cpp
https://commits.kde.org/rkward/14cde5ec17bef471463c9555b9240d939cd768c6
diff --git a/rkward/windows/rkmdiwindow.cpp b/rkward/windows/rkmdiwindow.cpp
index cc1ae522..784817b5 100644
--- a/rkward/windows/rkmdiwindow.cpp
+++ b/rkward/windows/rkmdiwindow.cpp
@@ -357,7 +357,7 @@ void RKMDIWindow::setStatusMessage (const QString& mess=
age, RCommand *command) {
} else {
status_popup_container->hide ();
status_popup->hide ();
- status_popup->setText (QString ()); // this is a lame way to keep track=
of whether the popup is empty. See resizeEvent()
+ status_popup->setText (QString ());
}
}
=
@@ -368,9 +368,7 @@ void RKMDIWindow::clearStatusMessage () {
}
=
void RKMDIWindow::resizeEvent (QResizeEvent*) {
- if (status_popup_container && !status_popup->text ().isEmpty ()) {
- status_popup_container->resize (size ());
- }
+ if (status_popup_container) status_popup_container->resize (size ());
}
=
=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic