Skip to content

Commit

Permalink
better name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicer86 committed Jun 12, 2021
1 parent 25db4b8 commit 9b92e4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gui/desktop/widgets/series_detection/series_detection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ SeriesDetection::SeriesDetection(Database::IDatabase* db,
IThumbnailsManager* thbMgr,
Project& project):
QDialog(),
m_tabModel(*db, *core),
m_seriesModel(*db, *core),
m_core(core),
m_db(db),
m_project(project),
Expand All @@ -64,7 +64,7 @@ SeriesDetection::SeriesDetection(Database::IDatabase* db,
m_qmlView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
m_qmlView->setResizeMode(QQuickWidget::SizeRootObjectToView);
QmlUtils::registerObject(m_qmlView, "thumbnailsManager", &m_thumbnailsManager4QML);
QmlUtils::registerObject(m_qmlView, "groupsModelId", &m_tabModel);
QmlUtils::registerObject(m_qmlView, "groupsModelId", &m_seriesModel);
m_qmlView->setSource(QUrl("qrc:/ui/Dialogs/SeriesDetection.qml"));

layout->addWidget(m_qmlView);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class SeriesDetection: public QDialog
~SeriesDetection();

private:
SeriesModel m_tabModel;
SeriesModel m_seriesModel;
ICoreFactoryAccessor* m_core;
Database::IDatabase* m_db;
Project& m_project;
Expand Down

0 comments on commit 9b92e4e

Please sign in to comment.