author | simon <simon> | 2002-12-09 16:39:32 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 16:39:32 (UTC) |
commit | 1bb6aa52f2db85f65f75278310c328218caeae65 (patch) (side-by-side diff) | |
tree | 1983547bac0da80bde93554038a57713feb715c1 /noncore/multimedia/opieplayer2/mediawidget.cpp | |
parent | 1ae041fba55e218a2523de441bec6ec3a1eecf02 (diff) | |
download | opie-1bb6aa52f2db85f65f75278310c328218caeae65.zip opie-1bb6aa52f2db85f65f75278310c328218caeae65.tar.gz opie-1bb6aa52f2db85f65f75278310c328218caeae65.tar.bz2 |
- removing duplicated code in VideoWidget
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.cpp b/noncore/multimedia/opieplayer2/mediawidget.cpp index c0ebd63..7eb75e6 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.cpp +++ b/noncore/multimedia/opieplayer2/mediawidget.cpp @@ -70,4 +70,8 @@ void MediaWidget::paintEvent( QPaintEvent *pe ) } +void MediaWidget::makeVisible() +{ +} + void MediaWidget::handleCommand( Command command, bool buttonDown ) { @@ -83,4 +87,5 @@ void MediaWidget::handleCommand( Command command, bool buttonDown ) case Forward: emit forwardReleased(); return; case Back: emit backReleased(); return; + case FullScreen: mediaPlayerState.setFullscreen( true ); makeVisible(); return; default: assert( false ); } |