mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #1937 from ivaradi/xenial-compat
Qt 5.5 compatibility #ifdef
This commit is contained in:
commit
ddee26084d
@ -326,6 +326,11 @@ void SyncEngine::deleteStaleErrorBlacklistEntries(const SyncFileItemVector &sync
|
||||
_journal->deleteStaleErrorBlacklistEntries(blacklist_file_paths);
|
||||
}
|
||||
|
||||
#if (QT_VERSION < 0x050600)
|
||||
template <typename T>
|
||||
constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
|
||||
#endif
|
||||
|
||||
void SyncEngine::conflictRecordMaintenance()
|
||||
{
|
||||
// Remove stale conflict entries from the database
|
||||
|
||||
Loading…
Reference in New Issue
Block a user