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.state as MobileShellState
|
||||
|
||||
import org.kde.plasma.private.volume
|
||||
|
||||
NanoShell.FullScreenOverlay {
|
||||
id: window
|
||||
|
||||
|
|
@ -32,7 +34,7 @@ NanoShell.FullScreenOverlay {
|
|||
Behavior on color {
|
||||
ColorAnimation {}
|
||||
}
|
||||
|
||||
|
||||
function showOverlay() {
|
||||
if (!window.visible) {
|
||||
window.showFullApplet = false;
|
||||
|
|
@ -49,7 +51,7 @@ NanoShell.FullScreenOverlay {
|
|||
hideTimer.triggered();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Timer {
|
||||
id: hideTimer
|
||||
interval: 3000
|
||||
|
|
@ -59,7 +61,7 @@ NanoShell.FullScreenOverlay {
|
|||
window.showFullApplet = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Flickable {
|
||||
id: flickable
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
Loading…
Reference in a new issue