c63f948959
OBS-URL: https://build.opensuse.org/request/show/561699 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zanshin?expand=0&rev=3
23 lines
1.2 KiB
Diff
23 lines
1.2 KiB
Diff
--- zanshin-0.5.0/src/widgets/applicationcomponents.cpp
|
|
+++ zanshin-0.5.0.new/src/widgets/applicationcomponents.cpp
|
|
@@ -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;
|
|
--- 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;
|