From 1b97f0352e38f8346984329b82a8be71632220a6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 7 Mar 2024 13:06:42 +0000 Subject: gentoo auto-resync : 07:03:2024 - 13:06:41 --- .../konversation-24.02.0-delay-tray-setup.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 net-irc/konversation/files/konversation-24.02.0-delay-tray-setup.patch (limited to 'net-irc/konversation/files') diff --git a/net-irc/konversation/files/konversation-24.02.0-delay-tray-setup.patch b/net-irc/konversation/files/konversation-24.02.0-delay-tray-setup.patch new file mode 100644 index 000000000000..fd8f438cc01b --- /dev/null +++ b/net-irc/konversation/files/konversation-24.02.0-delay-tray-setup.patch @@ -0,0 +1,36 @@ +From 1d554cb2c29e57bfd58b9aed7643dcb60fbf8659 Mon Sep 17 00:00:00 2001 +From: Eli MacKenzie +Date: Sun, 3 Mar 2024 17:33:42 -0500 +Subject: [PATCH] Delay tray setup until mainwindow state restored + +Otherwise the the KSNI appears to lose track of the main window. + +BUG: 482316 +--- + src/mainwindow.cpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp +index c1a029b5a..6faf7d90c 100644 +--- a/src/mainwindow.cpp ++++ b/src/mainwindow.cpp +@@ -571,13 +571,13 @@ MainWindow::MainWindow() : KXmlGuiWindow(nullptr) + new KonviBookmarkHandler(menu, this); + actionCollection()->addAction(QStringLiteral("bookmarks") , action); + +- // decide whether to show the tray icon or not +- updateTrayIcon(); +- + createGUI(); + + setAutoSaveSettings(); + ++ // decide whether to show the tray icon or not ++ updateTrayIcon(); ++ + // Apply menubar show/hide pref + m_showMenuBarAction->setChecked(Preferences::self()->showMenuBar()); + toggleMenubar(true); +-- +GitLab + -- cgit v1.2.3