1
0
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:
Michail Vourlakos 2017-08-01 21:59:58 +03:00
parent 46e54c2e81
commit ad0a66804f
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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