Changeset View
Changeset View
Standalone View
Standalone View
applets/fifteenPuzzle/package/contents/ui/main.qml
Show All 15 Lines | |||||
16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | */ | 18 | */ | ||
19 | import QtQuick 2.0 | 19 | import QtQuick 2.0 | ||
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 | ||
21 | 21 | | |||
22 | import org.kde.plasma.plasmoid 2.0 | 22 | import org.kde.plasma.plasmoid 2.0 | ||
23 | import org.kde.plasma.core 2.0 as PlasmaCore | 23 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
24 | import org.kde.plasma.private.fifteenpuzzle 0.1 | 24 | import org.kde.plasma.private.fifteenpuzzle 0.1 as Private | ||
kossebau: Unrelated? | |||||
ah, to me it appeared to break fifteenpuzzle, can you test if also for you using the qrc way, but keeping this unaltered, breaks it? mart: ah, to me it appeared to break fifteenpuzzle, can you test if also for you using the qrc way… | |||||
Sadly cannot test currently, self-compiled plasma-frameworks in custom prefix started to fail/conflict somewhere with system one recently. Given the Private is not used, so this seems just done to move qml class/symbols out of global namespace, could possibly the whole "import" be removed? Or would it still be needed for some secret init triggered by that? kossebau: Sadly cannot test currently, self-compiled plasma-frameworks in custom prefix started to… | |||||
25 | 25 | | |||
26 | Item { | 26 | Item { | ||
27 | id: root | 27 | id: root | ||
28 | 28 | | |||
29 | Plasmoid.switchWidth: Layout.minimumWidth - 20 | 29 | Plasmoid.switchWidth: Layout.minimumWidth - 20 | ||
30 | Plasmoid.switchHeight: Layout.minimumHeight - 20 | 30 | Plasmoid.switchHeight: Layout.minimumHeight - 20 | ||
31 | 31 | | |||
32 | Layout.minimumWidth: width | 32 | Layout.minimumWidth: width | ||
Show All 16 Lines |
Unrelated?