зеркало из https://github.com/nextcloud/desktop.git
Don't show a sync success status toolip when signed out
This commit is contained in:
Родитель
f77ae28ed1
Коммит
688aaadb60
|
@ -172,7 +172,10 @@ QVariant FolderStatusModel::data(const QModelIndex &index, int role) const
|
|||
case FolderStatusDelegate::FolderSyncPaused : return f->syncPaused();
|
||||
case FolderStatusDelegate::FolderAccountConnected : return accountConnected;
|
||||
case Qt::ToolTipRole:
|
||||
return Theme::instance()->statusHeaderText(f->syncResult().status());
|
||||
if ( accountConnected )
|
||||
return Theme::instance()->statusHeaderText(f->syncResult().status());
|
||||
else
|
||||
return tr("Signed out");
|
||||
case FolderStatusDelegate::FolderStatusIconRole:
|
||||
if ( accountConnected ) {
|
||||
auto theme = Theme::instance();
|
||||
|
|
Загрузка…
Ссылка в новой задаче