summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Mavridis <philippe.mavridis@yandex.com>2025-08-10 15:43:57 +0300
committerPhilippe Mavridis <philippe.mavridis@yandex.com>2025-08-10 16:22:51 +0300
commit5f9f01f43a18ec3953d3a739e8b02f2dee576745 (patch)
treeeb44272717b0e678f853d1cdcf84b5e3207e435a
parentfb5831b307283d10d8f9d4e928a7ac88167881f5 (diff)
downloadtdegraphics-5f9f01f4.tar.gz
tdegraphics-5f9f01f4.zip
KPDF: Fix fullscreen crash due to uninitialized pointer
This fixes #132. Signed-off-by: Philippe Mavridis <philippe.mavridis@yandex.com> (cherry picked from commit 06b07d281dc4ed0bc23a8d276915c209a91c747b)
-rw-r--r--kpdf/shell/shell.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kpdf/shell/shell.cpp b/kpdf/shell/shell.cpp
index dfa8a43c..f7b25153 100644
--- a/kpdf/shell/shell.cpp
+++ b/kpdf/shell/shell.cpp
@@ -50,6 +50,7 @@ Shell::Shell()
: DCOPObject("KPDFShellDCOPIface"), KParts::MainWindow(0, "KPDF::Shell"),
m_menuBarWasShown(true),
m_toolBarWasShown(true),
+ m_showToolBarAction(nullptr),
m_tabs(nullptr),
m_tabsContextMenu(nullptr),
m_manager(nullptr),
@@ -62,6 +63,7 @@ Shell::Shell(const KURL &url)
: DCOPObject("KPDFShellDCOPIface"), KParts::MainWindow(0, "KPDF::Shell"),
m_menuBarWasShown(true),
m_toolBarWasShown(true),
+ m_showToolBarAction(nullptr),
m_tabs(nullptr),
m_tabsContextMenu(nullptr),
m_manager(nullptr),