Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 92b6524

Browse files
committed
restore binary compability (via testing)
1 parent a3d3a70 commit 92b6524

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ environment:
1010
MAKE_RUN_TESTS: true #experimental
1111

1212
matrix:
13-
- PLATFORM: mingw53_32
1413
- PLATFORM: msvc2017_64
14+
- PLATFORM: mingw53_32
1515
- PLATFORM: winrt_x64_msvc2017
1616
- PLATFORM: winrt_x86_msvc2017
1717
- PLATFORM: winrt_armv7_msvc2017

src/mvvmcore/viewmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void ViewModel::showForResult(quint32 requestCode, const QMetaObject *viewMetaOb
6464
showImp(viewMetaObject, params, const_cast<ViewModel*>(this), requestCode);
6565
}
6666

67-
void ViewModel::showImp(const QMetaObject *metaObject, QVariantHash params, QPointer<ViewModel> parent, quint32 requestCode)
67+
void ViewModel::showImp(const QMetaObject *metaObject, const QVariantHash &params, QPointer<ViewModel> parent, quint32 requestCode)
6868
{
6969
QMetaObject::invokeMethod(CoreAppPrivate::dInstance().data(), "showViewModel", Qt::QueuedConnection,
7070
Q_ARG(const QMetaObject*, metaObject),

src/mvvmcore/viewmodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public Q_SLOTS:
6161

6262
QScopedPointer<ViewModelPrivate> d;
6363

64-
static void showImp(const QMetaObject *metaObject, QVariantHash params, QPointer<ViewModel> parent, quint32 requestCode = 0);
64+
static void showImp(const QMetaObject *metaObject, const QVariantHash &params, QPointer<ViewModel> parent, quint32 requestCode = 0);
6565
};
6666

6767
//TODO doc
Binary file not shown.

0 commit comments

Comments
 (0)