Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'qtupgrade-5.6' into 'master'
Browse files Browse the repository at this point in the history
[qtcontacts-sqlite] Compile with Qt5.6. Contributes to JB#35409

Do not merge until Qt 5.6 has merged.

See merge request !5
  • Loading branch information
martinjones committed Oct 8, 2016
2 parents 1d98870 + a3a169d commit 436927b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/engine/contactsengine.cpp
Expand Up @@ -46,6 +46,7 @@
#include <QWaitCondition>
#include <QElapsedTimer>
#include <QUuid>
#include <QDataStream>

// ---- for schema modification ------
#include <QtContacts/QContactFamily>
Expand Down
2 changes: 1 addition & 1 deletion src/engine/contactstransientstore.cpp
Expand Up @@ -152,7 +152,7 @@ class SharedMemoryManager

operator bool() const
{
return m_release;
return m_release != nullptr;
}

private:
Expand Down
1 change: 1 addition & 0 deletions src/engine/contactstransientstore.h
Expand Up @@ -40,6 +40,7 @@

#include <QDateTime>
#include <QPair>
#include <QSharedPointer>

QTCONTACTS_USE_NAMESPACE

Expand Down
2 changes: 1 addition & 1 deletion src/extensions/qcontactstatusflags_impl.h
Expand Up @@ -55,7 +55,7 @@ void QContactStatusFlags::setFlags(Flags flags)

QContactStatusFlags::Flags QContactStatusFlags::flags() const
{
return Flags(flagsValue());
return Flags(static_cast<ulong>(flagsValue()));
}

void QContactStatusFlags::setFlagsValue(quint64 value)
Expand Down
1 change: 1 addition & 0 deletions src/extensions/twowaycontactsyncadapter_impl.h
Expand Up @@ -46,6 +46,7 @@
#include <QContactUrl>

#include <QLocale>
#include <QDataStream>

#define QTCONTACTS_SQLITE_TWCSA_DEBUG_LOG(msg) \
do { \
Expand Down

0 comments on commit 436927b

Please sign in to comment.