Commit 3012a9b4 authored by jkobus's avatar jkobus Committed by Jarek Kobus

Fix the path for wizard icon

Task-number: QTCREATORBUG-12354
Change-Id: I9e418293f1728455c8d52c4850a7b98a15167ecf
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 33f5be4c
......@@ -222,7 +222,7 @@ static inline QIcon wizardIcon(const QString &configFileFullPath,
const QString &xmlIconFileName)
{
const QFileInfo fi(xmlIconFileName);
if (fi.isFile())
if (fi.isFile() && fi.isAbsolute())
return QIcon(fi.absoluteFilePath());
if (!fi.isRelative())
return QIcon();
......
Markdown is supported
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