[kde-doc-english] [trojita] src/Gui: GUI: listen to QDesktopWidget::workAreaResized instead of just resized()
Jan Kundrát
jkt at flaska.net
Sun May 26 23:39:49 UTC 2013
Git commit 08ff1b80d430c12dba046c1637f34e8cd08532e9 by Jan Kundrát.
Committed on 27/05/2013 at 00:46.
Pushed by jkt into branch 'master'.
GUI: listen to QDesktopWidget::workAreaResized instead of just resized()
Sugegsted by Thomas Lübking.
M +1 -1 src/Gui/Window.cpp
http://commits.kde.org/trojita/08ff1b80d430c12dba046c1637f34e8cd08532e9
diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp
index 7bcdef8..9ec75ec 100644
--- a/src/Gui/Window.cpp
+++ b/src/Gui/Window.cpp
@@ -153,7 +153,7 @@ MainWindow::MainWindow(): QMainWindow(), model(0),
// Let's hope that this value is long enough for the output to settle, yet short enough to not be overly annoying
delayedResize->setInterval(3000);
connect(delayedResize, SIGNAL(timeout()), this, SLOT(desktopGeometryChanged()));
- connect(qApp->desktop(), SIGNAL(resized(int)), delayedResize, SLOT(start()));
+ connect(qApp->desktop(), SIGNAL(workAreaResized(int)), delayedResize, SLOT(start()));
m_skipSavingOfUI = false;
}
More information about the kde-doc-english
mailing list