diff options
author | Lubos Dolezel <lubos@dolezel.info> | 2015-06-02 19:32:25 +0200 |
---|---|---|
committer | Lubos Dolezel <lubos@dolezel.info> | 2015-06-02 19:32:25 +0200 |
commit | ab83223e1b5c7d34855d091e0c868462bd9452d1 (patch) | |
tree | 0890102c34727fcceea3d4e4c89ca560988b7f6d /src/gui/historylistview.cpp | |
parent | aa9b140a7bb49eb9666678bcbbb544cc536bd6de (diff) | |
download | twinkle-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.cpp | 8 |
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, |