mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
volumeosd: Fix missing import
This commit is contained in:
parent
3c81efa21c
commit
3d90cee0c1
1 changed files with 5 additions and 3 deletions
|
|
@ -17,6 +17,8 @@ import org.kde.plasma.private.nanoshell 2.0 as NanoShell
|
||||||
import org.kde.plasma.private.mobileshell as MobileShell
|
import org.kde.plasma.private.mobileshell as MobileShell
|
||||||
import org.kde.plasma.private.mobileshell.state as MobileShellState
|
import org.kde.plasma.private.mobileshell.state as MobileShellState
|
||||||
|
|
||||||
|
import org.kde.plasma.private.volume
|
||||||
|
|
||||||
NanoShell.FullScreenOverlay {
|
NanoShell.FullScreenOverlay {
|
||||||
id: window
|
id: window
|
||||||
|
|
||||||
|
|
@ -32,7 +34,7 @@ NanoShell.FullScreenOverlay {
|
||||||
Behavior on color {
|
Behavior on color {
|
||||||
ColorAnimation {}
|
ColorAnimation {}
|
||||||
}
|
}
|
||||||
|
|
||||||
function showOverlay() {
|
function showOverlay() {
|
||||||
if (!window.visible) {
|
if (!window.visible) {
|
||||||
window.showFullApplet = false;
|
window.showFullApplet = false;
|
||||||
|
|
@ -49,7 +51,7 @@ NanoShell.FullScreenOverlay {
|
||||||
hideTimer.triggered();
|
hideTimer.triggered();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: hideTimer
|
id: hideTimer
|
||||||
interval: 3000
|
interval: 3000
|
||||||
|
|
@ -59,7 +61,7 @@ NanoShell.FullScreenOverlay {
|
||||||
window.showFullApplet = false;
|
window.showFullApplet = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Flickable {
|
Flickable {
|
||||||
id: flickable
|
id: flickable
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue