summaryrefslogtreecommitdiffstats
path: root/src/gui/historylistview.cpp
diff options
context:
space:
mode:
authorLubos Dolezel <lubos@dolezel.info>2015-06-02 19:32:25 +0200
committerLubos Dolezel <lubos@dolezel.info>2015-06-02 19:32:25 +0200
commitab83223e1b5c7d34855d091e0c868462bd9452d1 (patch)
tree0890102c34727fcceea3d4e4c89ca560988b7f6d /src/gui/historylistview.cpp
parentaa9b140a7bb49eb9666678bcbbb544cc536bd6de (diff)
downloadtwinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar
twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar.gz
twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar.lz
twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar.xz
twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.zip
Twinkle now compiles with Qt4 uic, but crashes at runtime (due to GUI calls from outside the main thread)
Diffstat (limited to 'src/gui/historylistview.cpp')
-rw-r--r--src/gui/historylistview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/historylistview.cpp b/src/gui/historylistview.cpp
index 575801c..666f3ac 100644
--- a/src/gui/historylistview.cpp
+++ b/src/gui/historylistview.cpp
@@ -41,13 +41,13 @@ HistoryListViewItem::HistoryListViewItem( Q3ListView * parent, const t_call_reco
// Set direction icon
setPixmap(HISTCOL_DIRECTION, (cr.direction == t_call_record::DIR_IN ?
- qPixmapFromMimeSource("1leftarrow-yellow.png") :
- qPixmapFromMimeSource("1rightarrow.png")));
+ QPixmap(":/icons/images/1leftarrow-yellow.png") :
+ QPixmap(":/icons/images/1rightarrow.png")));
// Set status icon
setPixmap(HISTCOL_STATUS, (cr.invite_resp_code < 300 ?
- qPixmapFromMimeSource("ok.png") :
- qPixmapFromMimeSource("cancel.png")));
+ QPixmap(":/icons/images/ok.png") :
+ QPixmap(":/icons/images/cancel.png")));
}
void HistoryListViewItem::paintCell(QPainter *painter, const QColorGroup &cg,