From 991e014b83a08d7ae79a06b18e181ce2945802ab Mon Sep 17 00:00:00 2001 From: Alessandro Portale <aportale@trolltech.com> Date: Mon, 13 Jul 2009 16:26:48 +0200 Subject: [PATCH] Removed warning on Windows --- src/plugins/coreplugin/fileiconprovider.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/fileiconprovider.cpp b/src/plugins/coreplugin/fileiconprovider.cpp index e9cdc66860f..2bd0b9711e2 100644 --- a/src/plugins/coreplugin/fileiconprovider.cpp +++ b/src/plugins/coreplugin/fileiconprovider.cpp @@ -123,7 +123,9 @@ void FileIconProvider::registerIconOverlayForSuffix(const QIcon &icon, const QSt QIcon FileIconProvider::iconForSuffix(const QString &suffix) const { 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()) return icon; -- GitLab