Skip to content

Commit

Permalink
[nemo-qtmultimedia-plugins] Fix initialization of properties.
Browse files Browse the repository at this point in the history
Query the values of mirror and orientation on initialization instead
of waiting for a change notifier that may never come.
  • Loading branch information
adenexter committed May 16, 2014
1 parent db5b708 commit bf4d027
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/videotexturebackend/videotexturebackend.cpp
Expand Up @@ -566,6 +566,7 @@ bool NemoVideoTextureBackend::init(QMediaService *service)
QMetaObject::connect(
q, q->metaObject()->property(mirrorIndex).notifySignalIndex(),
this, staticMetaObject.indexOfMethod("mirrorChanged()"));
mirrorChanged();
}

return true;
Expand Down

0 comments on commit bf4d027

Please sign in to comment.