call KIconDialog with default getIcon()

pull/19/head
Michail Vourlakos 5 years ago
parent 676e648ca3
commit 1c0f5acde8

@ -344,8 +344,11 @@ void DetailsHandler::selectBackground()
void DetailsHandler::selectIcon()
{
KIconDialog iconDialog(m_parentDialog);
setIcon(iconDialog.openDialog());
QString icon = KIconDialog::getIcon();
if (!icon.isEmpty()) {
setIcon(icon);
}
}
void DetailsHandler::selectTextColor()

Loading…
Cancel
Save