materia-kde icon indicating copy to clipboard operation
materia-kde copied to clipboard

Fix deprecated code warning

Open Mantas-2155X opened this issue 2 years ago • 4 comments

Fixes file:///usr/share/sddm/themes/materia-dark/Main.qml:31:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }

Mantas-2155X avatar May 22 '22 09:05 Mantas-2155X

It's can be compability on LTS distros with old Qt versions? On Elarun not use this functions: https://github.com/sddm/sddm/blob/develop/data/themes/elarun/Main.qml#L42

varlesh avatar May 22 '22 09:05 varlesh

I believe this functionality was added with Qt 5.14 as seen here.

Mantas-2155X avatar May 22 '22 09:05 Mantas-2155X

Kubuntu 22.04 LTS has Qt 5.15.3, Kubuntu 20.04 LTS has Qt 5.12.8

so I guess it is not compatible on older LTS releases :(

Mantas-2155X avatar May 22 '22 09:05 Mantas-2155X

Ok, thx! I think now it's can not be merged... but not close, for future

varlesh avatar May 22 '22 09:05 varlesh