KPDF: Fix fullscreen crash due to uninitialized pointer

This fixes #132.

Signed-off-by: Philippe Mavridis <philippe.mavridis@yandex.com>
pull/133/head
Philippe Mavridis 7 months ago
parent 1a3ed14059
commit 06b07d281d
No known key found for this signature in database
GPG Key ID: BB7EB07B27B3C64B

@ -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),

Loading…
Cancel
Save