forked from qt-creator/qt-creator
Display proper overlay icons on Windows/Qt 5.
Task-number: QTBUG-27450 Change-Id: I521823dc586c304a5242a79f04489e5bc0fdb702 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
1504ca67fb
commit
0869a13938
@@ -138,7 +138,7 @@ QIcon FileIconProvider::icon(const QFileInfo &fileInfo) const
|
||||
}
|
||||
}
|
||||
// Get icon from OS.
|
||||
#if defined(Q_WS_WIN) || defined(Q_OS_MAC)
|
||||
#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
|
||||
return QFileIconProvider::icon(fileInfo);
|
||||
#else
|
||||
// File icons are unknown on linux systems.
|
||||
|
||||
Reference in New Issue
Block a user