Commit ca08fe54 authored by kh1's avatar kh1 Committed by hjk
Browse files

Per request, add tool tip to topic chooser items.



Change-Id: I35e088e8a6fbd04c23e036b74cd0edb66260e455
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 19a9835d
......@@ -58,7 +58,9 @@ TopicChooser::TopicChooser(QWidget *parent, const QString &keyword,
QMap<QString, QUrl>::const_iterator it = links.constBegin();
for (; it != links.constEnd(); ++it) {
m_links.append(it.value());
model->appendRow(new QStandardItem(it.key()));
QStandardItem *item = new QStandardItem(it.key());
item->setToolTip(it.value().toString());
model->appendRow(item);
}
ui.listWidget->setModel(m_filterModel);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment