Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:ownCloud:desktop:client-2.2.1
owncloud-client
fix_qt4_build.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_qt4_build.diff of Package owncloud-client
commit a67173610d5a1e7f65451177c6b76851078b38d8 Author: Olivier Goffart <ogoffart@woboq.com> Date: Mon May 2 17:34:21 2016 +0200 Propagator: fix qt4 build propagatedownload.cpp:712:35: error: 'seenLockedFile' is a protected member of 'OCC::OwncloudPropagator' Signals are protected in Qt4 but public in Qt5, mark the class accessing it as friend when compiling with Qt4 diff --git a/src/libsync/owncloudpropagator.h b/src/libsync/owncloudpropagator.h index db8a86b..85fa426 100644 --- a/src/libsync/owncloudpropagator.h +++ b/src/libsync/owncloudpropagator.h @@ -379,6 +379,11 @@ private: /** Stores the time since a job touched a file. */ QHash<QString, QElapsedTimer> _touchedFiles; mutable QMutex _touchedFilesMutex; + +#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) + // access to signals which are protected in Qt4 + friend class PropagateDownloadFileQNAM; +#endif };
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor