Remove desktop resolution in favor of native (unscaled) resolution

Seeing 2 "native" resolutions for a single high DPI display is confusing.

If someone wants a lower resolution aspect-ratio match of a display, they
can use a custom resolution.
This commit is contained in:
Cameron Gutman
2022-08-16 01:22:26 -05:00
parent b0804ce048
commit be7852dfc0
3 changed files with 27 additions and 66 deletions

View File

@@ -29,7 +29,6 @@ public:
Q_PROPERTY(bool supportsHdr MEMBER supportsHdr CONSTANT)
Q_INVOKABLE void refreshDisplays();
Q_INVOKABLE QRect getDesktopResolution(int displayIndex);
Q_INVOKABLE QRect getNativeResolution(int displayIndex);
signals:
@@ -52,7 +51,6 @@ private:
QString unmappedGamepads;
int maximumStreamingFrameRate;
QSize maximumResolution;
QList<QRect> monitorDesktopResolutions;
QList<QRect> monitorNativeResolutions;
QString versionString;
bool supportsHdr;