GH-2124 First complete implementation, installing is working now! GH-2172 Added sorting
This commit is contained in:
		@@ -1,8 +0,0 @@
 | 
			
		||||
#include "FtbModpackListItem.h"
 | 
			
		||||
 | 
			
		||||
FtbModpackListItem::FtbModpackListItem(QListWidget *list, FtbModpack modpack) : QListWidgetItem(list), modpack(modpack) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
FtbModpack FtbModpackListItem::getModpack(){
 | 
			
		||||
	return modpack;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,15 +0,0 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "QListWidget"
 | 
			
		||||
#include <modplatform/PackHelpers.h>
 | 
			
		||||
 | 
			
		||||
class FtbModpackListItem : public QListWidgetItem {
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
	FtbModpack modpack;
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
	FtbModpackListItem(QListWidget *list, FtbModpack modpack);
 | 
			
		||||
	FtbModpack getModpack();
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user