on xenial help sign in
reuse ShellDialog's hack
commit5bab0e5ecaae0cff68dd42bddfe59988e975f182 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 24 Mar 2016, 20:28 (11 years ago) parentaf8c4cf
1 file changed+2−13
qml/Components/Lockscreen.qml+2−13
qml/Components/Lockscreen.qml+2−13
@@ -254,21 +254,10 @@ Showable {
254254
255255 Component {
256256 id: infoPopupComponent
257− Dialog {
257+ ShellDialog {
258258 id: dialog
259259 objectName: "infoPopup"
260−
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− }
260+ property var dialogLoader // dummy to satisfy ShellDialog's context dependent prop
272261
273262 Button {
274263 objectName: "infoPopupOkButton"