mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Clean up code for new QC2 dialogs and remove some unused imports
This commit is contained in:
1 parent
73604020d7
commit
c724902508
5 files changed
+11
-36
No files matched your search
@@ -2,7 +2,6 @@ import QtQuick 2.0
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Window 2.2
|
||||
|
||||
import ComputerManager 1.0
|
||||
import SdlGamepadKeyNavigation 1.0
|
||||
import Session 1.0
|
||||
|
||||
@@ -176,8 +175,8 @@ Item {
|
||||
ErrorMessageDialog {
|
||||
id: errorDialog
|
||||
|
||||
onVisibleChanged: {
|
||||
if (!visible && quitAfter) {
|
||||
onClosed: {
|
||||
if (quitAfter) {
|
||||
Qt.quit()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user