summaryrefslogtreecommitdiffstats
path: root/kpdf/shell/shell.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-29 18:51:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-06 15:11:38 +0900
commit2ce559458e5803dca8d98664d954b0108a72efbb (patch)
tree509ec8aed816cc32e8ab97b24b0275cfabfd57a6 /kpdf/shell/shell.h
parent52b719af6697a88e0173a35ed85afaf228b714d5 (diff)
downloadtdegraphics-2ce559458e5803dca8d98664d954b0108a72efbb.tar.gz
tdegraphics-2ce559458e5803dca8d98664d954b0108a72efbb.zip
kpdf: fix crash when requested to shutdown from the session manager or dcop. This resolves issue #139
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpdf/shell/shell.h')
-rw-r--r--kpdf/shell/shell.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kpdf/shell/shell.h b/kpdf/shell/shell.h
index d1ace108..87d9c93a 100644
--- a/kpdf/shell/shell.h
+++ b/kpdf/shell/shell.h
@@ -111,6 +111,7 @@ namespace KPDF
void slotUpdateFullScreen();
void slotShowMenubar();
void delayedOpen();
+ void slotShutDown();
void slotCloseTabRequest(TQWidget *w);
void slotChangeTab(KParts::Part *part);
@@ -150,6 +151,7 @@ namespace KPDF
TQToolButton *m_addTabButton, *m_removeTabButton;
TQPopupMenu *m_tabsContextMenu;
bool m_menuBarWasShown, m_toolBarWasShown;
+ bool m_shuttingDown;
KURL m_openUrl; // delayed open
int m_workingTab;
};