mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-27 06:03:51 +03:00
fixes for abilities and KHNS
This commit is contained in:
parent
90cafd4176
commit
561f0168c0
@ -439,9 +439,10 @@ void TabLayouts::downloadLayout()
|
|||||||
dialog.resize(m_parentDialog->downloadWindowSize());
|
dialog.resize(m_parentDialog->downloadWindowSize());
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
if (!dialog.changedEntries().isEmpty() || !dialog.installedEntries().isEmpty()) {
|
if (!dialog.changedEntries().isEmpty() && !dialog.installedEntries().isEmpty()) {
|
||||||
for (const auto &entry : dialog.installedEntries()) {
|
for (const auto &entry : dialog.installedEntries()) {
|
||||||
for (const auto &entryFile : entry.installedFiles()) {
|
for (const auto &entryFile : entry.installedFiles()) {
|
||||||
|
qDebug() << "org.kde.latte ::: installing :: " << entryFile;
|
||||||
Latte::Layouts::Importer::LatteFileVersion version = Latte::Layouts::Importer::fileVersion(entryFile);
|
Latte::Layouts::Importer::LatteFileVersion version = Latte::Layouts::Importer::fileVersion(entryFile);
|
||||||
|
|
||||||
if (version == Latte::Layouts::Importer::LayoutVersion2) {
|
if (version == Latte::Layouts::Importer::LayoutVersion2) {
|
||||||
|
@ -111,10 +111,10 @@ Item{
|
|||||||
readonly property bool parabolicAreaContainsMouse: parabolicEventsAreaLoader.active && parabolicEventsAreaLoader.item.containsMouse
|
readonly property bool parabolicAreaContainsMouse: parabolicEventsAreaLoader.active && parabolicEventsAreaLoader.item.containsMouse
|
||||||
|
|
||||||
readonly property int location: {
|
readonly property int location: {
|
||||||
if (abilityItem.location === PlasmaCore.Types.LeftEdge
|
if (plasmoid.location === PlasmaCore.Types.LeftEdge
|
||||||
|| abilityItem.location === PlasmaCore.Types.RightEdge
|
|| plasmoid.location === PlasmaCore.Types.RightEdge
|
||||||
|| abilityItem.location === PlasmaCore.Types.TopEdge) {
|
|| plasmoid.location === PlasmaCore.Types.TopEdge) {
|
||||||
return abilityItem.location;
|
return plasmoid.location;
|
||||||
}
|
}
|
||||||
|
|
||||||
return PlasmaCore.Types.BottomEdge;
|
return PlasmaCore.Types.BottomEdge;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user