summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorIain <qt-info@nokia.com>2009-10-21 12:45:12 (GMT)
committerIain <qt-info@nokia.com>2009-10-21 12:45:12 (GMT)
commit1f3200b2cd25a379079700dea489901970845b0f (patch)
treeeeeab85b645f53da6e9679240b36d42bf1ef1880 /demos
parent9b6753eac7439caa2dd8915ed3616cef6d1f6cd0 (diff)
parent522fc01a18b9eae80b733befb98a948f0fbbba06 (diff)
downloadQt-1f3200b2cd25a379079700dea489901970845b0f.zip
Qt-1f3200b2cd25a379079700dea489901970845b0f.tar.gz
Qt-1f3200b2cd25a379079700dea489901970845b0f.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6
Conflicts: src/s60installs/eabi/QtGuiu.def src/s60installs/eabi/QtMultimediau.def src/s60installs/eabi/QtNetworku.def
Diffstat (limited to 'demos')
-rw-r--r--demos/qmediaplayer/mediaplayer.cpp3
-rw-r--r--demos/spreadsheet/spreadsheet.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/demos/qmediaplayer/mediaplayer.cpp b/demos/qmediaplayer/mediaplayer.cpp
index baac236..e1ceb0e 100644
--- a/demos/qmediaplayer/mediaplayer.cpp
+++ b/demos/qmediaplayer/mediaplayer.cpp
@@ -367,6 +367,9 @@ void MediaPlayer::stateChanged(Phonon::State newstate, Phonon::State oldstate)
case Phonon::PausedState:
case Phonon::StoppedState:
playButton->setIcon(playIcon);
+
+ m_videoWidget->setFullScreen(false);
+
if (m_MediaObject.currentSource().type() != Phonon::MediaSource::Invalid){
playButton->setEnabled(true);
rewindButton->setEnabled(true);
diff --git a/demos/spreadsheet/spreadsheet.cpp b/demos/spreadsheet/spreadsheet.cpp
index 7f057a2..00045c6 100644
--- a/demos/spreadsheet/spreadsheet.cpp
+++ b/demos/spreadsheet/spreadsheet.cpp
@@ -523,6 +523,7 @@ void SpreadSheet::setupContents()
table->setItem(8, 2, new SpreadSheetItem("1240"));
table->setItem(9, 2, new SpreadSheetItem());
+ table->item(9, 2)->setBackgroundColor(Qt::lightGray);
// column 3
table->setItem(0, 3, new SpreadSheetItem("Currency"));