diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-11-30 15:57:26 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-30 16:52:22 +0100 |
commit | 8b9c63b2d8e3bbeab4d2488be2676b63baf8fb3e (patch) | |
tree | b0a0b30938bc4d7271a176d88a42fb9712691fcc /desktop-widgets/mainwindow.h | |
parent | 135ea00d88742714e66915b216d0d8d408df7248 (diff) | |
download | subsurface-8b9c63b2d8e3bbeab4d2488be2676b63baf8fb3e.tar.gz |
Move creation of QSession object into MainWindow::checkSurvey()
Instead of handing the QSession object down, simply create it in
MainWindow::checkSurvey()
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r-- | desktop-widgets/mainwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index f378d549f..237efd993 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -83,7 +83,7 @@ public: ProfileWidget2 *graphics() const; PlannerDetails *plannerDetails() const; void printPlan(); - void checkSurvey(QSettings *s); + void checkSurvey(); void setApplicationState(const QByteArray& state); void setStateProperties(const QByteArray& state, const PropertyList& tl, const PropertyList& tr, const PropertyList& bl,const PropertyList& br); bool inPlanner(); |