Skycoder42
7 years ago
No known key found for this signature in database
GPG Key ID: 8E01AD9EF0578D2B
3 changed files with
7 additions and
7 deletions
-
src/mvvmquick/quickpresenter.cpp
-
src/mvvmquick/quickpresenter_p.h
-
src/mvvmwidgets/widgetspresenter.cpp
|
|
@ -197,10 +197,10 @@ bool QuickPresenter::nameOrClassContains(const QObject *obj, const QString &cont |
|
|
|
// ------------- Private Implementation -------------
|
|
|
|
|
|
|
|
QuickPresenterPrivate::QuickPresenterPrivate() : |
|
|
|
explicitMappings(), |
|
|
|
searchDirs({QStringLiteral(":/qtmvvm/views")}), |
|
|
|
qmlPresenter(nullptr), |
|
|
|
inputViewFactory(nullptr) |
|
|
|
inputViewFactory(nullptr), |
|
|
|
explicitMappings(), |
|
|
|
searchDirs({QStringLiteral(":/qtmvvm/views")}) |
|
|
|
{} |
|
|
|
|
|
|
|
QuickPresenter *QuickPresenterPrivate::currentPresenter() |
|
|
|
|
|
@ -20,11 +20,11 @@ public: |
|
|
|
static void setQmlPresenter(QObject *presenter); |
|
|
|
|
|
|
|
private: |
|
|
|
QHash<const QMetaObject *, QUrl> explicitMappings; |
|
|
|
QStringList searchDirs; |
|
|
|
|
|
|
|
QPointer<QObject> qmlPresenter; |
|
|
|
InputViewFactory *inputViewFactory; |
|
|
|
|
|
|
|
QHash<const QMetaObject *, QUrl> explicitMappings; |
|
|
|
QStringList searchDirs; |
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
@ -431,7 +431,7 @@ void WidgetsPresenter::presentOtherDialog(const MessageConfig &config, QPointer< |
|
|
|
// ------------- Private Implementation -------------
|
|
|
|
|
|
|
|
WidgetsPresenterPrivate::WidgetsPresenterPrivate() : |
|
|
|
inputViewFactory(), |
|
|
|
inputViewFactory(nullptr), |
|
|
|
implicitMappings({&SettingsDialog::staticMetaObject}), |
|
|
|
explicitMappings() |
|
|
|
{} |
|
|
|