Commit 1d00ada9 authored by Tony Murray's avatar Tony Murray

Micro cleanup to avoid refetching data we already have.

svn path=/trunk/KDE/kdenetwork/krdc/; revision=1015119
parent 182196c7
......@@ -107,7 +107,7 @@ QVariant RemoteDesktopsModel::data(const QModelIndex &index, int role) const
case Qt::DisplayRole:
return item->data(index.column());
case Qt::ToolTipRole:
return item->data(1); //use the url for the tooltip
return currentItemString; //use the url for the tooltip
case Qt::DecorationRole:
if (!currentItemString.isEmpty()) // contains an url
return KIcon("krdc");
......
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