diff --git a/containment/package/contents/ui/abilities/Ability.qml b/containment/package/contents/ui/abilities/Ability.qml deleted file mode 100644 index 3d889bb05..000000000 --- a/containment/package/contents/ui/abilities/Ability.qml +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright 2020 Michail Vourlakos -* -* This file is part of Latte-Dock -* -* Latte-Dock is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 of -* the License, or (at your option) any later version. -* -* Latte-Dock is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -*/ - -import QtQuick 2.7 - -Item { - property QtObject publicApi: Item{} -} diff --git a/containment/package/contents/ui/abilities/AutoSizePrivate.qml b/containment/package/contents/ui/abilities/AutoSize.qml similarity index 99% rename from containment/package/contents/ui/abilities/AutoSizePrivate.qml rename to containment/package/contents/ui/abilities/AutoSize.qml index 9b66b2933..b624c1799 100644 --- a/containment/package/contents/ui/abilities/AutoSizePrivate.qml +++ b/containment/package/contents/ui/abilities/AutoSize.qml @@ -24,7 +24,7 @@ import org.kde.plasma.plasmoid 2.0 import org.kde.latte.core 0.2 as LatteCore -Ability { +Item { id: sizer // when there are only plasma style task managers OR any applets that fill width or height diff --git a/containment/package/contents/ui/abilities/Container.qml b/containment/package/contents/ui/abilities/Container.qml index 209364456..5710f9bbf 100644 --- a/containment/package/contents/ui/abilities/Container.qml +++ b/containment/package/contents/ui/abilities/Container.qml @@ -22,7 +22,7 @@ import QtQuick 2.7 ContainerPrivate { id: apis - publicApi: Item { + readonly property Item publicApi: Item { readonly property alias iconSize: apis.iconSize readonly property alias maxIconSize: apis.maxIconSize } diff --git a/containment/package/contents/ui/abilities/ContainerPrivate.qml b/containment/package/contents/ui/abilities/ContainerPrivate.qml index 4a32ac1f6..f77f19d49 100644 --- a/containment/package/contents/ui/abilities/ContainerPrivate.qml +++ b/containment/package/contents/ui/abilities/ContainerPrivate.qml @@ -20,7 +20,7 @@ import QtQuick 2.7 import org.kde.plasma.plasmoid 2.0 -Ability { +Item { id: privateContainer property Item animations: null diff --git a/containment/package/contents/ui/main.qml b/containment/package/contents/ui/main.qml index b6c66aa88..775eef5f6 100644 --- a/containment/package/contents/ui/main.qml +++ b/containment/package/contents/ui/main.qml @@ -1743,7 +1743,7 @@ Item { settings: universalSettings } - Ability.AutoSizePrivate { + Ability.AutoSize { id: _autosize container: _container layouts: layoutsContainer