mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-31 08:44:45 +00:00
SystemDialog: Demote actions property to Templates counterpart
This commit is contained in:
parent
e00bdeb0b5
commit
19440ec958
1 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
import QtQuick 2.15
|
import QtQuick 2.15
|
||||||
import QtQuick.Controls 2.15
|
import QtQuick.Controls 2.15
|
||||||
|
import QtQuick.Templates as T
|
||||||
import QtQuick.Layouts 1.15
|
import QtQuick.Layouts 1.15
|
||||||
import QtQuick.Window 2.15
|
import QtQuick.Window 2.15
|
||||||
import Qt5Compat.GraphicalEffects
|
import Qt5Compat.GraphicalEffects
|
||||||
|
|
@ -55,7 +56,7 @@ Item {
|
||||||
|
|
||||||
readonly property int flags: Qt.FramelessWindowHint | Qt.Dialog
|
readonly property int flags: Qt.FramelessWindowHint | Qt.Dialog
|
||||||
readonly property real dialogCornerRadius: Kirigami.Units.smallSpacing * 2
|
readonly property real dialogCornerRadius: Kirigami.Units.smallSpacing * 2
|
||||||
property list<Kirigami.Action> actions
|
property list<T.Action> actions
|
||||||
property string iconName
|
property string iconName
|
||||||
|
|
||||||
implicitWidth: loader.implicitWidth
|
implicitWidth: loader.implicitWidth
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue