on xenial help sign in
emit signal on preview ready
commit3b29ce76fde5c451f8a4f76c6aa25cdf7f19555d authorDiego Sarmentero <diego.sarmentero@gmail.com> dateWed 9 Oct 2013, 14:56 (13 years ago) parent3d85922
1 file changed+1
plugins/Unity/scope.cpp+1
plugins/Unity/scope.cpp+1
@@ -238,6 +238,7 @@ void Scope::onActivated(unity::dash::LocalResult const& result, unity::dash::Sco
238238
239239void Scope::onPreviewReady(unity::dash::LocalResult const& /* result */, unity::dash::Preview::Ptr const& preview)
240240{
241+ Q_EMIT activated();
241242 auto prv = Preview::newFromUnityPreview(preview);
242243 // is this the best solution? QML may need to keep more than one preview instance around, so we can't own it.
243244 // passing it by value is not possible.