Update Polkit

pull/2/head
cutefishd 5 years ago
parent 058c0932c5
commit 5ae04cc2aa

@ -20,10 +20,14 @@ Rectangle {
radius: root.radius
}
FontMetrics {
id: fontMetrics
}
RowLayout {
id: mainLayout
anchors.fill: parent
anchors.margins: parent.radius * 2
anchors.margins: FishUI.Theme.bigRadius * 2
Image {
id: icon
@ -35,18 +39,21 @@ Rectangle {
}
Item {
width: FishUI.Units.smallSpacing
width: FishUI.Theme.bigRadius
}
ColumnLayout {
id: column
spacing: FishUI.Units.smallSpacing
Label {
Text {
text: confirmation.message
wrapMode: Text.WordWrap
font.bold: true
Layout.fillHeight: true
font.bold: false
Layout.fillWidth: true
Layout.fillHeight: true
maximumLineCount: 2
wrapMode: Text.Wrap
elide: Text.ElideRight
}
Item {
@ -78,6 +85,8 @@ Rectangle {
}
RowLayout {
spacing: FishUI.Units.largeSpacing
Button {
text: qsTr("Cancel")
Layout.fillWidth: true

@ -1,6 +1,8 @@
#include "polkitagentlistener.h"
#include "dialog.h"
#include <QDebug>
PolKitAgentListener::PolKitAgentListener(QObject *parent)
: PolkitQt1::Agent::Listener(parent)
, m_dialog(nullptr)

Loading…
Cancel
Save