summaryrefslogtreecommitdiffstats
path: root/kpdf
diff options
context:
space:
mode:
Diffstat (limited to 'kpdf')
-rw-r--r--kpdf/part.cpp2
-rw-r--r--kpdf/shell/shell.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/kpdf/part.cpp b/kpdf/part.cpp
index a82707f7..7370a062 100644
--- a/kpdf/part.cpp
+++ b/kpdf/part.cpp
@@ -37,7 +37,7 @@
#include <tdeapplication.h>
#include <tdeaction.h>
#include <kdirwatch.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <kprinter.h>
#include <tdeprint/kprintdialogpage.h>
#include <kstdaction.h>
diff --git a/kpdf/shell/shell.cpp b/kpdf/shell/shell.cpp
index dd2adf2e..79d1d83d 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),