Removed warning on Windows

This commit is contained in:
Alessandro Portale
2009-07-13 16:26:48 +02:00
parent 990ba67513
commit 991e014b83

View File

@@ -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;