diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-02-24 09:34:21 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-02-24 09:34:21 +0100 |
commit | 226c1bdae5ec615381965b6731f6496dffa3299e (patch) | |
tree | 6d437bf3aea4b3954d705f3fa11b78b3e3b42f99 /logic/lists/ScreenshotList.cpp | |
parent | 5e33da258c3b5159dba854eb4792d0852a1ca363 (diff) | |
download | MultiMC-226c1bdae5ec615381965b6731f6496dffa3299e.tar MultiMC-226c1bdae5ec615381965b6731f6496dffa3299e.tar.gz MultiMC-226c1bdae5ec615381965b6731f6496dffa3299e.tar.lz MultiMC-226c1bdae5ec615381965b6731f6496dffa3299e.tar.xz MultiMC-226c1bdae5ec615381965b6731f6496dffa3299e.zip |
Screenshot fixes, move some code around, fix some stuff
Diffstat (limited to 'logic/lists/ScreenshotList.cpp')
-rw-r--r-- | logic/lists/ScreenshotList.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/lists/ScreenshotList.cpp b/logic/lists/ScreenshotList.cpp index e955f121..0565d0a4 100644 --- a/logic/lists/ScreenshotList.cpp +++ b/logic/lists/ScreenshotList.cpp @@ -1,6 +1,6 @@ #include "ScreenshotList.h" -#include "QDir" -#include "QIcon" +#include <QDir> +#include <QIcon> ScreenshotList::ScreenshotList(BaseInstance *instance, QObject *parent) : QAbstractListModel(parent), m_instance(instance) @@ -39,7 +39,7 @@ QVariant ScreenshotList::headerData(int section, Qt::Orientation orientation, in Qt::ItemFlags ScreenshotList::flags(const QModelIndex &index) const { - return Qt::ItemIsSelectable; + return Qt::ItemIsSelectable | Qt::ItemIsEnabled; } Task *ScreenshotList::load() |