diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-09-17 11:40:59 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-09-17 12:38:43 +0300 |
commit | ad06eb1706880efb64b017c404b005738db8765e (patch) | |
tree | 13c54fe3ec8f0b06ce3ce61f317a58d3889d11db /src/gui/models | |
parent | ef31a5733bed908a9d81503b2c803df976cc798b (diff) |
Revert "Work around compiler bug in old GCC versions"
We rather update the compiler on debian 9
This reverts commit 4acec7bfdeeb798cdc7f32d6286dc7de07e17ef1.
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/protocolitemmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/models/protocolitemmodel.cpp b/src/gui/models/protocolitemmodel.cpp index 58e267cc8..5d0d8395b 100644 --- a/src/gui/models/protocolitemmodel.cpp +++ b/src/gui/models/protocolitemmodel.cpp @@ -70,7 +70,7 @@ QVariant ProtocolItemModel::data(const QModelIndex &index, int role) const case ProtocolItemRole::Account: return item.folder()->accountState()->account()->displayName(); case ProtocolItemRole::Status: - return SyncFileItem::statusEnumDisplayName(item.status()); + return Utility::enumDisplayName(item.status()); case ProtocolItemRole::ColumnCount: Q_UNREACHABLE(); break; |