summaryrefslogtreecommitdiffstats
path: root/src/xprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xprivate.h')
-rw-r--r--src/xprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xprivate.h b/src/xprivate.h
index 3bc6067..c7ef29b 100644
--- a/src/xprivate.h
+++ b/src/xprivate.h
@@ -50,7 +50,7 @@ public:
void addMissingModesFromExtBlock(XRRScreenResources *res, RROutput outputId, unsigned char *data);
void addMissingModesFromDtd(XRRScreenResources *res, RROutput outputId, unsigned char *data);
void disconnectAllCrtcs();
- XRRModeInfo* getPreferredMode(OutputInfo *oi, XRRModeInfo *fallback = nullptr) const;
+ XRRModeInfo* getPreferredMode(const OutputInfo *oi, XRRModeInfo *fallback = nullptr) const;
void setScreenSize(const QSize &size);
RRMode getOutputModeForResolution(const XRROutputInfo *output, unsigned int width, unsigned int height) const;
RRMode getOutputModeForResolution(const XRROutputInfo *output, const QSize &resolution) const;