Initialize properly IconInfo struct

Spotted by coverity.
This commit is contained in:
Jean-Marc Lasgouttes 2021-01-29 18:57:13 +01:00
parent 5366666c83
commit b1efc5a48e

View File

@ -269,9 +269,9 @@ struct IconInfo {
/// Absolute path to icon file /// Absolute path to icon file
QString filepath; QString filepath;
/// Swap the icon in RTL mode /// Swap the icon in RTL mode
bool swap; bool swap = false;
/// Invert the icon in dark mode /// Invert the icon in dark mode
bool invert; bool invert = false;
}; };
/// \return the pixmap for the given path, name and extension. /// \return the pixmap for the given path, name and extension.