forked from qt-creator/qt-creator
Removed warning on Windows
This commit is contained in:
@@ -123,7 +123,9 @@ void FileIconProvider::registerIconOverlayForSuffix(const QIcon &icon, const QSt
|
|||||||
QIcon FileIconProvider::iconForSuffix(const QString &suffix) const
|
QIcon FileIconProvider::iconForSuffix(const QString &suffix) const
|
||||||
{
|
{
|
||||||
QIcon icon;
|
QIcon icon;
|
||||||
#ifndef Q_WS_WIN // On windows we use the file system icons
|
#ifdef Q_WS_WIN // On windows we use the file system icons
|
||||||
|
Q_UNUSED(suffix)
|
||||||
|
#else
|
||||||
if (suffix.isEmpty())
|
if (suffix.isEmpty())
|
||||||
return icon;
|
return icon;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user