File qpointerconnect.diff of Package zanshin

--- 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;
openSUSE Build Service is sponsored by