mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
15 lines
385 B
QML
15 lines
385 B
QML
import QtQuick
|
|
|
|
QtObject {
|
|
function migrate(adapter, logger, rawJson) {
|
|
logger.i("Settings", "Migrating settings to v58 (dock.dockType: static -> attached)");
|
|
|
|
if (rawJson && rawJson.dock && rawJson.dock.dockType === "static") {
|
|
adapter.dock.dockType = "attached";
|
|
logger.i("Settings", "Migrated dock.dockType: static -> attached");
|
|
}
|
|
|
|
return true;
|
|
}
|
|
}
|