feat: better handling of optional mods
This disables the optional mods by default and tell the user about it. Pretty hackish, but a better solution would involve the modrinth metadata to have the mod names... Also sorry for the diffs, my clangd went rogue x.x
This commit is contained in:
		@@ -55,7 +55,7 @@ class InstanceImportTask : public InstanceTask
 | 
			
		||||
{
 | 
			
		||||
    Q_OBJECT
 | 
			
		||||
public:
 | 
			
		||||
    explicit InstanceImportTask(const QUrl sourceUrl);
 | 
			
		||||
    explicit InstanceImportTask(const QUrl sourceUrl, QWidget* parent = nullptr);
 | 
			
		||||
 | 
			
		||||
    bool canAbort() const override { return true; }
 | 
			
		||||
    bool abort() override;
 | 
			
		||||
@@ -94,4 +94,7 @@ private: /* data */
 | 
			
		||||
        Flame,
 | 
			
		||||
        Modrinth,
 | 
			
		||||
    } m_modpackType = ModpackType::Unknown;
 | 
			
		||||
 | 
			
		||||
    //FIXME: nuke
 | 
			
		||||
    QWidget* m_parent;
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user