diff options
Diffstat (limited to 'examples/widgets/mainwindows/application/mainwindow.h')
-rw-r--r-- | examples/widgets/mainwindows/application/mainwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/mainwindows/application/mainwindow.h b/examples/widgets/mainwindows/application/mainwindow.h index ee805f0caa..9e3e1e907a 100644 --- a/examples/widgets/mainwindows/application/mainwindow.h +++ b/examples/widgets/mainwindows/application/mainwindow.h @@ -80,7 +80,9 @@ private slots: bool saveAs(); void about(); void documentWasModified(); +#ifndef QT_NO_SESSIONMANAGER void commitData(QSessionManager &); +#endif private: void createActions(); |