PapirusDevelopmentTeam / materia-kde

Materia KDE customization
https://git.io/materia-kde
GNU General Public License v3.0
611 stars 40 forks source link

Fix deprecated code warning #138

Open Mantas-2155X opened 2 years ago

Mantas-2155X commented 2 years ago

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>) { ... }

varlesh commented 2 years ago

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

Mantas-2155X commented 2 years ago

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

Mantas-2155X commented 2 years ago

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 :(

varlesh commented 2 years ago

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