Move back to old file dialog.
This commit is contained in:
parent
8ef688a31b
commit
214f0bc6ae
|
@ -83,13 +83,14 @@ MenuBar {
|
|||
}
|
||||
}
|
||||
|
||||
LabsPlatform.FileDialog {
|
||||
FileDialog {
|
||||
id: fileDialog
|
||||
title: translate.getTranslation("OPEN_FILE", i18n.language)
|
||||
nameFilters: ["All files (*)"]
|
||||
selectMultiple: false
|
||||
onAccepted: {
|
||||
player.playerCommand(Enums.Commands.LoadFile,
|
||||
String(fileDialog.file))
|
||||
String(fileDialog.fileUrl))
|
||||
fileDialog.close()
|
||||
}
|
||||
onRejected: {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import QtQuick 2.0
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Window 2.2
|
||||
import Qt.labs.settings 1.0
|
||||
import player 1.0
|
||||
|
||||
Window {
|
||||
|
|
Loading…
Reference in a new issue