summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorVsevolod Buzinov <ext-vsevolod.buzinov@nokia.com>2010-08-06 11:04:50 +0300
committerVsevolod Buzinov <ext-vsevolod.buzinov@nokia.com>2010-08-06 11:04:50 +0300
commitb4e779fd1d17f25e14520e4904e2b294a7402f7b (patch)
treea0ed1c9e0157663466cfc4ef57d93cd810457558 /demo
parent40677565abd199df7bca3b5525ef0a5db44b928c (diff)
downloadlibresourceqt-b4e779fd1d17f25e14520e4904e2b294a7402f7b.tar.gz
Fixed a crash on the demo player launch on the recent images
Diffstat (limited to 'demo')
-rw-r--r--demo/player/playerpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/player/playerpage.cpp b/demo/player/playerpage.cpp
index 9fc7120..80b26c4 100644
--- a/demo/player/playerpage.cpp
+++ b/demo/player/playerpage.cpp
@@ -110,7 +110,7 @@ void PlayerPage::makeControlBar(MLinearLayoutPolicy *controlBarPolicy) {
* \see PlayerPage::updateLabelsVisibility()
*/
void PlayerPage::orientationChangeEvent(MOrientationChangeEvent */*event*/) {
- updateLabelsVisibility();
+ if (isContentCreated()) updateLabelsVisibility();
}
/**