2018-01-09 14:52:31 +01:00
|
|
|
--- zanshin-0.5.0/src/widgets/applicationcomponents.cpp
|
|
|
|
+++ zanshin-0.5.0.new/src/widgets/applicationcomponents.cpp
|
2016-12-13 19:33:06 +01:00
|
|
|
@@ -112,7 +112,7 @@ AvailablePagesView *ApplicationComponent
|
|
|
|
ApplicationComponents *self = const_cast<ApplicationComponents*>(this);
|
|
|
|
self->m_availablePagesView = availablePagesView;
|
|
|
|
|
|
|
|
- connect(self->m_availablePagesView, &AvailablePagesView::currentPageChanged, self, &ApplicationComponents::onCurrentPageChanged);
|
|
|
|
+ connect(self->m_availablePagesView.data(), &AvailablePagesView::currentPageChanged, self, &ApplicationComponents::onCurrentPageChanged);
|
|
|
|
}
|
|
|
|
|
|
|
|
return m_availablePagesView;
|
2018-01-09 14:52:31 +01:00
|
|
|
--- zanshin-0.5.0/src/widgets/applicationcomponents.cpp
|
|
|
|
+++ zanshin-0.5.0.new/src/widgets/applicationcomponents.cpp
|
|
|
|
@@ -136,7 +136,7 @@ PageView *ApplicationComponents::pageView() const
|
|
|
|
self->m_pageView = pageView;
|
|
|
|
self->m_errorHandler->setPageView(pageView);
|
|
|
|
|
|
|
|
- connect(self->m_pageView, &PageView::currentArtifactChanged, self, &ApplicationComponents::onCurrentArtifactChanged);
|
|
|
|
+ connect(self->m_pageView.data(), &PageView::currentArtifactChanged, self, &ApplicationComponents::onCurrentArtifactChanged);
|
|
|
|
}
|
|
|
|
|
|
|
|
return m_pageView;
|