mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Switched to qmlformat.
This commit is contained in:
@@ -27,14 +27,14 @@ Rectangle {
|
||||
var dialog = Qt.createComponent("NColorPickerDialog.qml").createObject(root, {
|
||||
"selectedColor": selectedColor,
|
||||
"parent": Overlay.overlay
|
||||
})
|
||||
});
|
||||
// Connect the dialog's signal to the picker's signal
|
||||
dialog.colorSelected.connect(function (color) {
|
||||
root.selectedColor = color
|
||||
root.colorSelected(color)
|
||||
})
|
||||
root.selectedColor = color;
|
||||
root.colorSelected(color);
|
||||
});
|
||||
|
||||
dialog.open()
|
||||
dialog.open();
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
|
||||
Reference in New Issue
Block a user