| @@ -18,7 +18,6 @@ | |||||||
|  |  | ||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <qvariant.h> |  | ||||||
| #include <QList> | #include <QList> | ||||||
| #include <QMetaType> | #include <QMetaType> | ||||||
| #include <QString> | #include <QString> | ||||||
|   | |||||||
| @@ -20,7 +20,6 @@ ModModel::ModModel(BaseInstance const& base_inst, ResourceAPI* api) : ResourceMo | |||||||
|         auto meta = mod->metadata(); |         auto meta = mod->metadata(); | ||||||
|         ModPlatform::IndexedPack pack{ meta->project_id, meta->provider, meta->name, meta->slug }; |         ModPlatform::IndexedPack pack{ meta->project_id, meta->provider, meta->name, meta->slug }; | ||||||
|         pack.loadedFileId = meta->file_id; |         pack.loadedFileId = meta->file_id; | ||||||
|         qWarning() << pack.loadedFileId; |  | ||||||
|         addPack(pack); |         addPack(pack); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -3,10 +3,10 @@ | |||||||
| // SPDX-License-Identifier: GPL-3.0-only | // SPDX-License-Identifier: GPL-3.0-only | ||||||
|  |  | ||||||
| #include "ResourceModel.h" | #include "ResourceModel.h" | ||||||
| #include <qlist.h> |  | ||||||
|  |  | ||||||
| #include <QCryptographicHash> | #include <QCryptographicHash> | ||||||
| #include <QIcon> | #include <QIcon> | ||||||
|  | #include <QList> | ||||||
| #include <QMessageBox> | #include <QMessageBox> | ||||||
| #include <QPixmapCache> | #include <QPixmapCache> | ||||||
| #include <QUrl> | #include <QUrl> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Trial97
					Trial97