]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/GuiCompare.h
Properly scale some icons for HiDPI (#12695)
[lyx.git] / src / frontends / qt / GuiCompare.h
index 82afcd2071d27c615347e0a2bc9dd869093522e8..e71a13139ebbfa0e928e1453241bd7b07c0968e8 100644 (file)
@@ -32,7 +32,7 @@ public:
        GuiCompare(GuiView & lv);
        ~GuiCompare();
 
-       void closeEvent(QCloseEvent *);
+       void closeEvent(QCloseEvent *) override;
 
 private Q_SLOTS:
        ///
@@ -57,7 +57,7 @@ private Q_SLOTS:
        ///
        void progressMax(int) const;
        ///
-       void setStatusMessage(QString);
+       void setStatusMessage(QString const &);
 
 private:
        ///
@@ -85,7 +85,8 @@ private:
        Buffer const * bufferFromFileName(std::string const & file) const;
 
        /// create the compare object and run the comparison
-       int run();
+       ///  if blocking_mode is true, run should execute so that the caller can block to wait for the results
+       int run(bool blocking_mode = false);
 
 private:
        /// the object that will do the comparison