summaryrefslogtreecommitdiff
path: root/kde-frameworks/kxmlgui/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-12 06:32:46 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-12 06:32:46 +0100
commit28e3d252dc8ac8a5635206dfefe1cfe05058d1db (patch)
treee75bce604750fb72e53ed3684059e2e5d2094509 /kde-frameworks/kxmlgui/files
parentf625b9919a60a30f1bd860f7d1b2eac183ced593 (diff)
gentoo resync : 12.08.2018
Diffstat (limited to 'kde-frameworks/kxmlgui/files')
-rw-r--r--kde-frameworks/kxmlgui/files/kxmlgui-5.48.0-kmainwindow.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/kde-frameworks/kxmlgui/files/kxmlgui-5.48.0-kmainwindow.patch b/kde-frameworks/kxmlgui/files/kxmlgui-5.48.0-kmainwindow.patch
deleted file mode 100644
index ffc62a676d55..000000000000
--- a/kde-frameworks/kxmlgui/files/kxmlgui-5.48.0-kmainwindow.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From d35a88289513c0420863b80aa6c1cb7d2c6e978f Mon Sep 17 00:00:00 2001
-From: Mladen Milinkovic <max@scarlettvisionmedia.com>
-Date: Tue, 17 Jul 2018 09:45:30 +0200
-Subject: Fix KMainWindow saving incorrect widget settings
-
-BUG: 395988
-In certain cases KMainWindow::saveMainWindowSettings() could have been
-called after mainwindow started destroying itself. Window settings would
-be saved with incorrect child widget states. e.g. some widgets would be
-saved as hidden even if they were visible before destroying.
----
- src/kmainwindow.cpp | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/kmainwindow.cpp b/src/kmainwindow.cpp
-index 810bf32..885ac60 100644
---- a/src/kmainwindow.cpp
-+++ b/src/kmainwindow.cpp
-@@ -524,6 +524,10 @@ void KMainWindow::closeEvent(QCloseEvent *e)
- }
-
- if (queryClose()) {
-+ // widgets will start destroying themselves at this point and we don't
-+ // want to save state anymore after this as it might be incorrect
-+ d->autoSaveSettings = false;
-+ d->letDirtySettings = false;
- e->accept();
- } else {
- e->ignore(); //if the window should not be closed, don't close it
---
-cgit v0.11.2
-