]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiViewSource.h
Speed up exit time
[lyx.git] / src / frontends / qt4 / GuiViewSource.h
index b7a5190ce275bc0ece6f0b6d9f056980e6af85c2..dfc302b5d2959dc2bce6034978173d66b2ec9784 100644 (file)
@@ -43,7 +43,7 @@ public:
        /// returns true if the string has changed
        bool setText(QString const & qstr = QString());
        ///
-       void saveSession(QString const & session_key) const;
+       void saveSession(QSettings & settings, QString const & session_key) const;
        ///
        void restoreSession(QString const & session_key);
 
@@ -116,7 +116,7 @@ public:
        bool canApplyToReadOnly() const { return true; }
        void updateView();
        void enableView(bool enable);
-       void saveSession() const;
+       void saveSession(QSettings & settings) const;
        void restoreSession();
        bool wantInitialFocus() const { return false; }
        ///@}