summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2014-01-22 20:20:55 (GMT)
committerRemko Tronçon <git@el-tramo.be>2014-01-22 21:25:50 (GMT)
commitfe460ca46bff4f9e735db86ca072eafb3a5c8f2d (patch)
tree82ac0b3c1c29ec13dd66a7f328a93d0b14db895a /Swift/QtUI/QtChatWindow.h
parent4c83aa02da939ee3dc59b6febf70cab87e85f758 (diff)
downloadswift-fe460ca46bff4f9e735db86ca072eafb3a5c8f2d.zip
swift-fe460ca46bff4f9e735db86ca072eafb3a5c8f2d.tar.bz2
Sluift: Add SecurityLabel convertor
Change-Id: I59357bda2cbfcb044b5c27b41fe0c91c194e7381
Diffstat (limited to 'Swift/QtUI/QtChatWindow.h')
-rw-r--r--Swift/QtUI/QtChatWindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindow.h b/Swift/QtUI/QtChatWindow.h
index df1e619..eeb8093 100644
--- a/Swift/QtUI/QtChatWindow.h
+++ b/Swift/QtUI/QtChatWindow.h
@@ -54,7 +54,7 @@ namespace Swift {
if (!index.isValid()) {
return QVariant();
}
- SecurityLabel::ref label = availableLabels_[index.row()].getLabel();
+ boost::shared_ptr<SecurityLabel> label = availableLabels_[index.row()].getLabel();
if (label && role == Qt::TextColorRole) {
return P2QSTRING(label->getForegroundColor());
}