mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-20 06:50:28 +03:00
small fixes for warnings and types
This commit is contained in:
parent
46e54c2e81
commit
ad0a66804f
@ -133,7 +133,7 @@ Item{
|
||||
return 1;
|
||||
}
|
||||
|
||||
enabledBorders: dock ? dock.enabledBorders : 0
|
||||
enabledBorders: dock ? dock.enabledBorders : PlasmaCore.FrameSvg.NoBorder
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation { duration: 8*root.durationTime*units.shortDuration }
|
||||
@ -329,7 +329,7 @@ Item{
|
||||
adjustPrefix();
|
||||
}
|
||||
|
||||
enabledBorders: dock ? dock.enabledBorders : 0
|
||||
enabledBorders: dock ? dock.enabledBorders : PlasmaCore.FrameSvg.NoBorder
|
||||
|
||||
function adjustPrefix() {
|
||||
if (!plasmoid) {
|
||||
|
@ -56,6 +56,8 @@ Item {
|
||||
}
|
||||
property bool showZoomed: false
|
||||
property bool lockZoom: false
|
||||
property bool isExpanded: applet && applet.status >= PlasmaCore.Types.NeedsAttentionStatus
|
||||
&& applet.status !== PlasmaCore.Types.HiddenStatus
|
||||
property bool isHidden: applet && applet.status === PlasmaCore.Types.HiddenStatus ? true : false
|
||||
property bool isInternalViewSplitter: (internalSplitterId > 0)
|
||||
property bool isZoomed: false
|
||||
@ -83,8 +85,6 @@ Item {
|
||||
property int maxHeight: root.isHorizontal ? root.height : root.width
|
||||
property int shownAppletMargin: applet && (applet.pluginName === "org.kde.plasma.systemtray") ? 0 : appletMargin
|
||||
property int internalSplitterId: 0
|
||||
property int isExpanded: applet && applet.status >= PlasmaCore.Types.NeedsAttentionStatus
|
||||
&& applet.status !== PlasmaCore.Types.HiddenStatus
|
||||
|
||||
property int previousIndex: -1
|
||||
property int sizeForFill: -1 //it is used in calculations for fillWidth,fillHeight applets
|
||||
|
Loading…
x
Reference in New Issue
Block a user