summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/applnk.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/library/applnk.cpp b/library/applnk.cpp
index 298581a..41b3008 100644
--- a/library/applnk.cpp
+++ b/library/applnk.cpp
@@ -80,10 +80,13 @@ public:
AppLnkPrivate() {
/* we want one normal and one big item */
- mPixmaps = QArray<QPixmap>(2);
+
+ QPixmap pix;
+ mPixmaps.insert(0, pix );
+ mPixmaps.insert(1, pix);
}
QStringList mCatList; // always correct
QArray<int> mCat; // cached value; correct if not empty
- QArray<QPixmap> mPixmaps;
+ QMap<int, QPixmap> mPixmaps;
void updateCatListFromArray()