diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2017-01-24 17:39:08 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2017-01-27 17:59:59 +0300 |
commit | 517623e457bdbea67cc88130842e9a55cb813232 (patch) | |
tree | 718732584ea15aaf21e074ff2784885987a8e449 /src/gui/folderstatusmodel.h | |
parent | f89bc09fd16105d1003e0edd54d9f9f980b1004d (diff) |
FolderStatusModel: Different icon for external storages
Issue: https://github.com/owncloud/client/pull/5340#issuecomment-274564441
Diffstat (limited to 'src/gui/folderstatusmodel.h')
-rw-r--r-- | src/gui/folderstatusmodel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/folderstatusmodel.h b/src/gui/folderstatusmodel.h index f1813ca1c..5071e1e30 100644 --- a/src/gui/folderstatusmodel.h +++ b/src/gui/folderstatusmodel.h @@ -51,7 +51,7 @@ public: struct SubFolderInfo { SubFolderInfo() - : _folder(0), _size(0), _fetched(false), _fetching(false), + : _folder(0), _size(0), _isExternal(false), _fetched(false), _fetching(false), _hasError(false), _fetchingLabel(false), _isUndecided(false), _checked(Qt::Checked) {} Folder *_folder; QString _name; @@ -59,6 +59,7 @@ public: QVector<int> _pathIdx; QVector<SubFolderInfo> _subs; qint64 _size; + bool _isExternal; bool _fetched; // If we did the LSCOL for this folder already bool _fetching; // Whether a LSCOL job is currently running @@ -113,6 +114,7 @@ public slots: private slots: void slotUpdateDirectories(const QStringList &); + void slotGatherPermissions(const QString &name, const QMap<QString,QString> &properties); void slotLscolFinishedWithError(QNetworkReply *r); void slotFolderSyncStateChange(Folder* f); void slotFolderScheduleQueueChanged(); |