mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-07 13:24:48 -04:00
Implement icon picker, bring back raster icons.
This commit is contained in:
1 parent
bf5f5091ef
commit
1782d5ad9a
75 files changed
+1098
-424
No files matched your search
@@ -1,7 +1,8 @@
|
||||
#include "instancemodel.h"
|
||||
#include <BaseInstance.h>
|
||||
#include <IconListModel.h>
|
||||
#include <QIcon>
|
||||
#include "iconcache.h"
|
||||
//#include "iconcache.h"
|
||||
|
||||
InstanceModel::InstanceModel ( const InstanceList& instances, QObject *parent )
|
||||
: QAbstractListModel ( parent ), m_instances ( &instances )
|
||||
@@ -71,7 +72,7 @@ QVariant InstanceModel::data ( const QModelIndex& index, int role ) const
|
||||
}
|
||||
case Qt::DecorationRole:
|
||||
{
|
||||
IconCache * ic = IconCache::instance();
|
||||
IconList * ic = IconList::instance();
|
||||
// FIXME: replace with an icon cache/renderer
|
||||
/*
|
||||
QString path = ":/icons/instances/";
|
||||
|
||||
Reference in new issue
Block a user