mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
actiondrawer: Fix widget references
This commit is contained in:
parent
f22a1e0b8c
commit
8f732c330f
5 changed files with 6 additions and 9 deletions
|
|
@ -16,7 +16,6 @@ import org.kde.plasma.components 3.0 as PlasmaComponents
|
|||
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
||||
|
||||
import "../components" as Components
|
||||
import "../widgets" as Widgets
|
||||
import "quicksettings"
|
||||
|
||||
/**
|
||||
|
|
@ -93,7 +92,7 @@ PlasmaCore.ColorScope {
|
|||
font.weight: Font.Light
|
||||
}
|
||||
|
||||
Widgets.NotificationsWidget {
|
||||
MobileShell.NotificationsWidget {
|
||||
id: notificationWidget
|
||||
// don't allow notifications widget to get too wide
|
||||
Layout.maximumWidth: PlasmaCore.Units.gridUnit * 25
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ import QtQuick.Window 2.2
|
|||
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
import org.kde.plasma.components 3.0 as PlasmaComponents
|
||||
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
||||
|
||||
import "../components" as Components
|
||||
import "../widgets" as Widgets
|
||||
import "quicksettings"
|
||||
|
||||
/**
|
||||
|
|
@ -76,7 +76,7 @@ PlasmaCore.ColorScope {
|
|||
}
|
||||
}
|
||||
|
||||
Widgets.NotificationsWidget {
|
||||
MobileShell.NotificationsWidget {
|
||||
id: notificationWidget
|
||||
anchors {
|
||||
top: quickSettings.top
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
|||
|
||||
import "../../statusbar" as StatusBar
|
||||
import "../../components" as Components
|
||||
import "../../widgets" as Widgets
|
||||
import "../"
|
||||
|
||||
/**
|
||||
|
|
@ -101,7 +100,7 @@ Components.BaseItem {
|
|||
width: parent.width
|
||||
}
|
||||
|
||||
Widgets.MediaControlsWidget {
|
||||
MobileShell.MediaControlsWidget {
|
||||
id: mediaWidget
|
||||
property real fullHeight: height + Layout.topMargin
|
||||
Layout.fillWidth: true
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
|||
|
||||
import "../../statusbar" as StatusBar
|
||||
import "../../components" as Components
|
||||
import "../../widgets" as Widgets
|
||||
import "../"
|
||||
|
||||
/**
|
||||
|
|
@ -104,7 +103,7 @@ Components.BaseItem {
|
|||
Item { Layout.fillHeight: true }
|
||||
}
|
||||
|
||||
Widgets.MediaControlsWidget {
|
||||
MobileShell.MediaControlsWidget {
|
||||
id: mediaWidget
|
||||
property real fullHeight: visible ? height + PlasmaCore.Units.smallSpacing * 6 : 0
|
||||
anchors.left: parent.left
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import org.kde.plasma.core 2.0 as PlasmaCore
|
|||
import org.kde.plasma.components 3.0 as PlasmaComponents3
|
||||
import org.kde.plasma.extras 2.0 as PlasmaExtras
|
||||
|
||||
import "../components" as Components
|
||||
import "../../components" as Components
|
||||
|
||||
Components.BaseItem {
|
||||
id: root
|
||||
|
|
|
|||
Loading…
Reference in a new issue