Fix OpenWithDialog icon
This commit is contained in:
parent
c5eccdebc0
commit
4868a2e54c
3 changed files with 9 additions and 6 deletions
|
@ -37,6 +37,10 @@ OpenWithDialog::OpenWithDialog(const QUrl &url, QQuickView *parent)
|
|||
engine()->rootContext()->setContextProperty("launcher", FileLauncher::self());
|
||||
|
||||
setSource(QUrl("qrc:/qml/Dialogs/OpenWithDialog.qml"));
|
||||
|
||||
QRect rect = geometry();
|
||||
setMinimumSize(rect.size());
|
||||
setMaximumSize(rect.size());
|
||||
}
|
||||
|
||||
QString OpenWithDialog::url() const
|
||||
|
|
|
@ -118,12 +118,11 @@ Item {
|
|||
anchors.margins: FishUI.Units.smallSpacing
|
||||
spacing: FishUI.Units.smallSpacing
|
||||
|
||||
Image {
|
||||
FishUI.IconItem {
|
||||
id: icon
|
||||
source: "image://icontheme/" + model.icon
|
||||
width: 30
|
||||
height: width
|
||||
sourceSize: Qt.size(width, height)
|
||||
Layout.fillHeight: true
|
||||
Layout.preferredWidth: height
|
||||
source: model.icon
|
||||
Layout.alignment: Qt.AlignLeft
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ FishUI.Window {
|
|||
title: qsTr("File Manager")
|
||||
|
||||
header.height: 36 + FishUI.Units.largeSpacing
|
||||
background.opacity: 0.9
|
||||
background.opacity: root.compositing ? 0.9 : 1.0
|
||||
|
||||
FishUI.WindowBlur {
|
||||
view: root
|
||||
|
|
Loading…
Reference in a new issue