Browse Source

restore binary compability (via testing)

pull/2/head
Skycoder42 6 years ago
parent
commit
92b6524471
No known key found for this signature in database GPG Key ID: 8E01AD9EF0578D2B
  1. 2
      appveyor.yml
  2. 2
      src/mvvmcore/viewmodel.cpp
  3. 2
      src/mvvmcore/viewmodel.h
  4. BIN
      tests/auto/qml/qmlsettingsgenerator/tst_qmlsettingsgenerator.qmlc

2
appveyor.yml

@ -10,8 +10,8 @@ environment:
MAKE_RUN_TESTS: true #experimental
matrix:
- PLATFORM: mingw53_32
- PLATFORM: msvc2017_64
- PLATFORM: mingw53_32
- PLATFORM: winrt_x64_msvc2017
- PLATFORM: winrt_x86_msvc2017
- PLATFORM: winrt_armv7_msvc2017

2
src/mvvmcore/viewmodel.cpp

@ -64,7 +64,7 @@ void ViewModel::showForResult(quint32 requestCode, const QMetaObject *viewMetaOb
showImp(viewMetaObject, params, const_cast<ViewModel*>(this), requestCode);
}
void ViewModel::showImp(const QMetaObject *metaObject, QVariantHash params, QPointer<ViewModel> parent, quint32 requestCode)
void ViewModel::showImp(const QMetaObject *metaObject, const QVariantHash &params, QPointer<ViewModel> parent, quint32 requestCode)
{
QMetaObject::invokeMethod(CoreAppPrivate::dInstance().data(), "showViewModel", Qt::QueuedConnection,
Q_ARG(const QMetaObject*, metaObject),

2
src/mvvmcore/viewmodel.h

@ -61,7 +61,7 @@ private:
QScopedPointer<ViewModelPrivate> d;
static void showImp(const QMetaObject *metaObject, QVariantHash params, QPointer<ViewModel> parent, quint32 requestCode = 0);
static void showImp(const QMetaObject *metaObject, const QVariantHash &params, QPointer<ViewModel> parent, quint32 requestCode = 0);
};
//TODO doc

BIN
tests/auto/qml/qmlsettingsgenerator/tst_qmlsettingsgenerator.qmlc

Binary file not shown.
Loading…
Cancel
Save