Show tooltip for error/loading items in file browser
This commit is contained in:
parent
fa2a8e27be
commit
a309926839
|
@ -250,7 +250,7 @@ QVariant SyncthingFileModel::data(const QModelIndex &index, int role) const
|
||||||
case Qt::ToolTipRole:
|
case Qt::ToolTipRole:
|
||||||
switch (index.column()) {
|
switch (index.column()) {
|
||||||
case 0:
|
case 0:
|
||||||
return item->isFilesystemItem() ? item->path : QString();
|
return item->isFilesystemItem() ? item->path : item->name;
|
||||||
case 2:
|
case 2:
|
||||||
return agoString(item->modificationTime);
|
return agoString(item->modificationTime);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue