1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Recreating item list

This commit is contained in:
Laurent Cozic
2017-02-06 20:20:30 +00:00
parent a4116a4bf8
commit ab3bb28036
27 changed files with 445 additions and 179 deletions

View File

@ -5,7 +5,7 @@ namespace qmlUtils {
QVariant callQml(QObject* o, const QString &name, const QVariantList &args) {
QVariant returnedValue;
qDebug() << "Going to call QML:" << name << args;
//qDebug() << "Going to call QML:" << name << args;
if (args.size() == 0) {
QMetaObject::invokeMethod(o, name.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue));
} else if (args.size() == 1) {