Commit cf9fe0c8 authored by Alexander Reinholdt's avatar Alexander Reinholdt
Browse files

Use symbolic icon if available.

parent 3ccffec0
......@@ -58,7 +58,17 @@ Smb4KSystemTray::Smb4KSystemTray(QWidget *parent)
//
// Set the icon for the system tray
//
QString iconName = QStringLiteral("network-workgroup");
QString iconName;
if (KIconLoader::global()->hasIcon("network-workgroup-symbolic"))
{
iconName = QStringLiteral("network-workgroup-symbolic");
}
else
{
iconName = QStringLiteral("network-workgroup");
}
setIconByName(iconName);
//
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment