mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 08:47:50 -06:00
Removed platform check that always had the same result
The UM.Application.platform property has been removed by someone for quite some time. I don't know why the check was in there, but it doesn't seem needed at all as the property was always undefined
This commit is contained in:
parent
ac0a5bb156
commit
ed503cb6ec
4 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ UM.Dialog
|
||||||
minimumWidth: 450 * screenScaleFactor
|
minimumWidth: 450 * screenScaleFactor
|
||||||
minimumHeight: 150 * screenScaleFactor
|
minimumHeight: 150 * screenScaleFactor
|
||||||
|
|
||||||
modality: UM.Application.platform == "linux" ? Qt.NonModal : Qt.WindowModal
|
modality: Qt.WindowModal
|
||||||
|
|
||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
|
|
|
@ -563,7 +563,7 @@ UM.MainWindow
|
||||||
|
|
||||||
//: File open dialog title
|
//: File open dialog title
|
||||||
title: catalog.i18nc("@title:window","Open file(s)")
|
title: catalog.i18nc("@title:window","Open file(s)")
|
||||||
modality: UM.Application.platform == "linux" ? Qt.NonModal : Qt.WindowModal;
|
modality: Qt.WindowModal
|
||||||
selectMultiple: true
|
selectMultiple: true
|
||||||
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
|
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
|
||||||
folder: CuraApplication.getDefaultPath("dialog_load_path")
|
folder: CuraApplication.getDefaultPath("dialog_load_path")
|
||||||
|
|
|
@ -26,7 +26,7 @@ UM.Dialog
|
||||||
minimumHeight: maximumHeight
|
minimumHeight: maximumHeight
|
||||||
minimumWidth: maximumWidth
|
minimumWidth: maximumWidth
|
||||||
|
|
||||||
modality: UM.Application.platform == "linux" ? Qt.NonModal : Qt.WindowModal
|
modality: Qt.WindowModal
|
||||||
|
|
||||||
property var fileUrl
|
property var fileUrl
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ UM.Dialog
|
||||||
minimumHeight: height
|
minimumHeight: height
|
||||||
minimumWidth: width
|
minimumWidth: width
|
||||||
|
|
||||||
modality: UM.Application.platform == "linux" ? Qt.NonModal : Qt.WindowModal;
|
modality: Qt.WindowModal
|
||||||
|
|
||||||
property var fileUrls: []
|
property var fileUrls: []
|
||||||
property int spacerHeight: 10 * screenScaleFactor
|
property int spacerHeight: 10 * screenScaleFactor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue