summaryrefslogtreecommitdiff
path: root/src/genericicondelegate.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-03-09 12:34:34 +0100
committerTannin <devnull@localhost>2015-03-09 12:34:34 +0100
commit7a1ae9b0f1560c9eda32e032796fbb3fd56ff236 (patch)
treedea71435ac1042cb008fcd9f7b1ec57e6ea91227 /src/genericicondelegate.h
parentd45ebf134819e1559718681becca9c4139fb7151 (diff)
parentdb2954e8eb41da715b9e7d79a72e225797401413 (diff)
Merge with branch1.2
Diffstat (limited to 'src/genericicondelegate.h')
-rw-r--r--src/genericicondelegate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/genericicondelegate.h b/src/genericicondelegate.h
index 8bc75e27..98605250 100644
--- a/src/genericicondelegate.h
+++ b/src/genericicondelegate.h
@@ -20,11 +20,11 @@ public:
* of the view, the delegate will turn off this behaviour if the column is smaller than "compactSize"
* @param compactSize see explanation of logicalIndex
*/
- GenericIconDelegate(QObject *parent = NULL, int role = Qt::UserRole + 1, int logicalIndex = -1, int compactSize = 150);
+ GenericIconDelegate(QObject *parent = nullptr, int role = Qt::UserRole + 1, int logicalIndex = -1, int compactSize = 150);
public slots:
void columnResized(int logicalIndex, int oldSize, int newSize);
private:
- virtual QList<QIcon> getIcons(const QModelIndex &index) const;
+ virtual QList<QString> getIcons(const QModelIndex &index) const;
virtual size_t getNumIcons(const QModelIndex &index) const;
private:
int m_Role;