on xenial help sign in
reuse ShellDialog's hack
5bab0e5Lukáš Tinkl
qml/Components/Lockscreen.qml+2−13
@@ -254,21 +254,10 @@ Showable {
254
254
255 Component {
255 Component {
256 id: infoPopupComponent
256 id: infoPopupComponent
257− Dialog {
257+ ShellDialog {
258 id: dialog
258 id: dialog
259 objectName: "infoPopup"
259 objectName: "infoPopup"
260−
260+ property var dialogLoader // dummy to satisfy ShellDialog's context dependent prop
261− // FIXME: this is a hack because Dialog subtheming seems broken atm
262− // https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1555548
263− ThemeSettings {
264− id: themeHack
265− }
266−
267− Component.onCompleted: {
268− themeHack.palette.normal.overlay = "white";
269− themeHack.palette.normal.overlayText = UbuntuColors.slate;
270− __foreground.theme = themeHack
271− }
272
261
273 Button {
262 Button {
274 objectName: "infoPopupOkButton"
263 objectName: "infoPopupOkButton"