Refresh display resolutions when opening the settings page

This commit is contained in:
Cameron Gutman committed 2020-12-07 19:58:42 -06:00
1 parent 8381039f97
commit 53e3cd143e
3 files changed
+46 -26

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ public:
Q_PROPERTY(QSize maximumResolution MEMBER maximumResolution CONSTANT)
Q_PROPERTY(QString versionString MEMBER versionString CONSTANT)
Q_INVOKABLE void refreshDisplays();
Q_INVOKABLE QRect getDesktopResolution(int displayIndex);
Q_INVOKABLE QRect getNativeResolution(int displayIndex);