summaryrefslogtreecommitdiffstats
path: root/examples/widgets/mainwindows/application/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/mainwindows/application/mainwindow.h')
-rw-r--r--examples/widgets/mainwindows/application/mainwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/mainwindows/application/mainwindow.h b/examples/widgets/mainwindows/application/mainwindow.h
index 9712604125..690e8ebc32 100644
--- a/examples/widgets/mainwindows/application/mainwindow.h
+++ b/examples/widgets/mainwindows/application/mainwindow.h
@@ -70,7 +70,9 @@ private slots:
bool saveAs();
void about();
void documentWasModified();
+#ifndef QT_NO_SESSIONMANAGER
void commitData(QSessionManager &);
+#endif
private:
void createActions();