X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.cpp;h=ba05014f336c6e4f53422156aeaa0e612a664b8e;hp=9aa1cf2f0a5fa667ac87214d4f7bec5f8e0ced2d;hb=4ce53949ab7d52a49ae79b8817bd3aa50fada0d1;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/common/syncableobject.cpp b/src/common/syncableobject.cpp index 9aa1cf2f..ba05014f 100644 --- a/src/common/syncableobject.cpp +++ b/src/common/syncableobject.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -114,11 +114,7 @@ QVariantMap SyncableObject::toVariantMap() QVariant::Type variantType = QVariant::nameToType(method.typeName()); if (variantType == QVariant::Invalid && !QByteArray(method.typeName()).isEmpty()) { -#if QT_VERSION >= 0x050000 qWarning() << "SyncableObject::toVariantMap(): cannot fetch init data for:" << this << method.methodSignature() << "- Returntype is unknown to Qt's MetaSystem:" << QByteArray(method.typeName()); -#else - qWarning() << "SyncableObject::toVariantMap(): cannot fetch init data for:" << this << method.signature() << "- Returntype is unknown to Qt's MetaSystem:" << QByteArray(method.typeName()); -#endif continue; }