Clean up code for new QC2 dialogs and remove some unused imports
This commit is contained in:
parent
73604020d7
commit
c724902508
5 changed files with 11 additions and 36 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue