]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
Fix support for screen fractional scaling with Wayland
[lyx.git] / src / LyX.h
index 85decbc6d66e3837eb6e36e38bc2ed4e1cbdd190..c35464e210e6626f9d5f6e10f6ed879514b78935 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
@@ -25,6 +25,7 @@ class CmdDef;
 class Converters;
 class DispatchResult;
 class ErrorItem;
+class Formats;
 class FuncRequest;
 class FuncStatus;
 class KeyMap;
@@ -55,7 +56,6 @@ extern bool verbose;
 extern bool ignore_missing_glyphs;
 extern RunMode run_mode;
 extern OverwriteFiles force_overwrite;
-extern double qt_scale_factor;
 
 namespace frontend {
 class Application;
@@ -139,6 +139,8 @@ private:
        friend ServerSocket & theServerSocket();
        friend Converters & theConverters();
        friend Converters & theSystemConverters();
+       friend Formats & theFormats();
+       friend Formats & theSystemFormats();
        friend Messages const & getMessages(std::string const & language);
        friend Messages const & getGuiMessages();
        friend KeyMap & theTopLevelKeymap();