SHA256
1
0
forked from pool/zanshin
zanshin/qpointerconnect.diff

12 lines
718 B
Diff

--- zanshin-0.4.1/src/widgets/applicationcomponents.cpp 2016-09-06 16:21:19.000000000 +0200
+++ zanshin-0.4.1.new/src/widgets/applicationcomponents.cpp 2016-11-21 16:36:19.092641290 +0100
@@ -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;