]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiView.h
Do not show master's errors if compiling child
[lyx.git] / src / frontends / qt4 / GuiView.h
index dd6fb9bd6e2c22e40aaa72f0d7711c7fb21401d1..8ff519221842ca5f6a95de3ccd9a1b812f778b34 100644 (file)
@@ -166,6 +166,9 @@ public:
        /// \name GuiBufferDelegate.
        //@{
        void resetAutosaveTimers();
+       // shows an error list (possibly master's)
+       // even if from_master is false, might show master's error list.
+       // this function should only be called if there was an error (#11106).
        void errors(std::string const &, bool from_master = false);
        void structureChanged();
        void updateTocItem(std::string const &, DocIterator const &);
@@ -470,6 +473,9 @@ private:
        /// Statusbar widget that shows version control status
        QLabel * version_control_;
 
+       /// The rate from which the actual zoom value is calculated
+       /// from the default zoom pref
+       double zoom_ratio_ = 1.0;
        /// Minimum zoom percentage
        static int const zoom_min_ = 10;