Re: IconDialog customLocation
Hi, copy pasting my response from https://bugs.kde.org/show_bug.cgi?id=427434 : I think you want to set "user: true". The name of this property comes from KIconDialog [1] which is wrapped by IconDialog [2] Best regards, David [1] https://api.kde.org/frameworks/kiconthemes/html/classKIconDialog.html [2] https://invent.kde.org/frameworks/kdeclarative/-/blob/master/src/ qmlcontrols/kquickcontrolsaddons/icondialog.cpp
IconDialog customLocation
My plasmoid provides icons. I want to use an IconPicker so that the user can decide which icon to use. Therefore Im using the following snippet: import org.kde.kquickcontrolsaddons 2.0 as KQuickAddons ... KQuickAddons.IconDialog { id: iconDialog onIconNameChanged: { iconPreview.source = iconName iconChanged(iconName) } customLocation:'/absolute/path/to/images/' } Which works, but only if the user clicks manually within the IconDialog on "Other Icons:" radio button. By default "System Icons:" radio button is checked. How can I change the default setting in order to present the user automatically the delivered icons?