Replace Windows conflicting "LoadIcon" with "SetIcon"

Windows headers defines LoadIcon to LoadIconW when UNICODE is defined.
This commit is contained in:
Jonas Kvinge
2025-01-31 16:10:23 +01:00
parent eae7e2a9e6
commit 1572d241d5
3 changed files with 7 additions and 7 deletions

View File

@@ -98,7 +98,7 @@ class DeviceInfo : public SimpleTreeItem<DeviceInfo> {
DeviceDatabaseBackend::Device SaveToDb() const;
// Tries to load a good icon for the device. Sets icon_name_ and icon_.
void LoadIcon(const QVariantList &icons, const QString &name_hint);
void SetIcon(const QVariantList &icons, const QString &name_hint);
// Gets the best backend available (the one with the highest priority)
const Backend *BestBackend() const;