1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/science/openmodelica/files/patch-OMEdit_OMEditLIB_Util_Utilities.cpp

12 lines
445 B
C++

--- OMEdit/OMEditLIB/Util/Utilities.cpp.orig 2022-12-11 19:01:44 UTC
+++ OMEdit/OMEditLIB/Util/Utilities.cpp
@@ -1012,7 +1012,7 @@ QIcon Utilities::FileIconProvider::FileIconProviderImp
// Get icon from OS.
QIcon icon;
// File icons are unknown on linux systems.
-#if defined(Q_OS_LINUX)
+#if defined(Q_OS_UNIX)
icon = isDir ? QFileIconProvider::icon(fileInfo) : mUnknownFileIcon;
#else
icon = QFileIconProvider::icon(fileInfo);