mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Refresh display resolutions when opening the settings page
This commit is contained in:
1 parent
8381039f97
commit
53e3cd143e
3 files changed
+46
-26
No files matched your search
@@ -83,6 +83,9 @@ Flickable {
|
||||
|
||||
// ignore setting the index at first, and actually set it when the component is loaded
|
||||
Component.onCompleted: {
|
||||
// Refresh display data before using it to build the list
|
||||
SystemProperties.refreshDisplays()
|
||||
|
||||
// Add native resolutions for all attached displays
|
||||
var done = false
|
||||
for (var displayIndex = 0; !done; displayIndex++) {
|
||||
|
||||
Reference in new issue
Block a user