mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-03 04:58:23 +03:00
fix warnings,closing Latte with custom indicators
This commit is contained in:
parent
834bb56194
commit
82480e6079
@ -51,7 +51,9 @@ LatteComponents.IndicatorItem{
|
||||
readonly property bool reversedEnabled: indicator && indicator.general ? indicator.general.reversed : false
|
||||
|
||||
//! Configuration Options
|
||||
readonly property bool configurationEnabled: (indicator!==null) && (indicator.configuration !== null)
|
||||
readonly property bool configurationEnabled: (indicator!==null)
|
||||
&& (indicator.configuration !== null)
|
||||
&& (indicator.configuration.glow3D !== undefined)
|
||||
|
||||
readonly property bool extraDotOnActive: configurationEnabled ? indicator.configuration.extraDotOnActive : true
|
||||
readonly property bool minimizedTaskColoredDifferently: configurationEnabled ? indicator.configuration.minimizedTaskColoredDifferently : false
|
||||
|
@ -288,10 +288,11 @@ Item {
|
||||
color: "white"
|
||||
} */
|
||||
onLatteViewChanged: {
|
||||
if (latteView)
|
||||
if (latteView) {
|
||||
plasmoid.configuration.isInLatteDock = true;
|
||||
else
|
||||
} else {
|
||||
plasmoid.configuration.isInLatteDock = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user