5447cef2d8
The context property version is slower to access and won't be supported in Qt6. Let's port away from it and use the singleton version instead. Here was my full process for making this change: 1. Made the change with `find . -name '*.qml' | xargs perl -pi -e 's/units\./PlasmaCore\.Units\./g'` 2. Verified no more occurrences with `grep -r " units."` 3. Made sure this didn't change any comments in a silly way by inspecting the output of `git diff | grep "+ " | grep "//"` 4. Manually inspected the full git diff to make sure there were no other unintentional or silly changes (there were none) 5. verified that all changed files have the PlasmaCore import with the correct name with `for FILE in `git status | grep modified | cut -d ":" -f 3`; do grep -q "as PlasmaCore" $FILE || echo "$FILE needs the PlasmaCore import"; done` (one needed the import)
58 lines
1.7 KiB
QML
58 lines
1.7 KiB
QML
/*
|
|
SPDX-FileCopyrightText: 2014 Sebastian Kügler <sebas@kde.org>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
import QtQuick 2.0
|
|
import QtQuick.Layouts 1.1
|
|
|
|
import org.kde.plasma.plasmoid 2.0
|
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
|
import org.kde.plasma.extras 2.0 as PlasmaExtras
|
|
|
|
Item {
|
|
Layout.minimumWidth: 200
|
|
Layout.minimumHeight: 300
|
|
|
|
PlasmaCore.IconItem {
|
|
source: "kbugbuster"
|
|
width: PlasmaCore.Units.iconSizes.large
|
|
height: width
|
|
anchors {
|
|
right: col.right
|
|
top: col.top
|
|
}
|
|
// opacity: 0.3
|
|
}
|
|
|
|
Column {
|
|
id: col
|
|
|
|
spacing: PlasmaCore.Units.largeSpacing /2
|
|
anchors {
|
|
fill: parent
|
|
margins: PlasmaCore.Units.largeSpacing
|
|
}
|
|
|
|
PlasmaExtras.Heading {
|
|
level: 1
|
|
text: i18n("Reporting Bugs")
|
|
}
|
|
PlasmaExtras.Heading {
|
|
level: 3
|
|
text: i18n("So you found something wrong in Plasma...")
|
|
}
|
|
PlasmaExtras.Paragraph {
|
|
text: i18n("You are running a development version of Plasma. This software is not fit for production use. We do, however encourage testing and reporting the results. A few easy steps to report a bug: <br />\
|
|
<ul>\
|
|
<li>Check <a href=\"\">here if the bug already exists</li>\
|
|
<li>Report it using the form <a href=\"\">here</li>\
|
|
<li>Be ready to provide us feedback, so we can debug the problem</li>\
|
|
</ul>\
|
|
<br />If you would like to participate in development, or have a question, you can ask them on the plasma-devel@kde.org mailing list.\
|
|
")
|
|
}
|
|
}
|
|
}
|