summaryrefslogtreecommitdiff
authorar <ar>2004-02-19 11:40:08 (UTC)
committer ar <ar>2004-02-19 11:40:08 (UTC)
commitf388f1777ff1c83a483b20cebbafedd566628d12 (patch) (side-by-side diff)
treef26ab9b44ae7d88f9858ac6e7631791ef14a2bc0
parentb0019ad8b4a0d69dfd98fe4aa599600746eac20f (diff)
downloadopie-f388f1777ff1c83a483b20cebbafedd566628d12.zip
opie-f388f1777ff1c83a483b20cebbafedd566628d12.tar.gz
opie-f388f1777ff1c83a483b20cebbafedd566628d12.tar.bz2
fix compile problem reported by Brad Campbell - Thanks
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp
index 4242aa6..870b4f3 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.cpp
+++ b/noncore/multimedia/opieplayer2/audiowidget.cpp
@@ -126,49 +126,49 @@ void AudioWidget::sliderPressed() {
void AudioWidget::sliderReleased() {
audioSliderBeingMoved = FALSE;
if ( slider.width() == 0 )
return;
long val = long((double)slider.value() * mediaPlayerState.length() / slider.width());
mediaPlayerState.setPosition( val );
}
void AudioWidget::setPosition( long i ) {
// qDebug("<<<<<<<<<<<<<<<<<<<<<<<<set position %d",i);
updateSlider( i, mediaPlayerState.length() );
}
void AudioWidget::setLength( long max ) {
updateSlider( mediaPlayerState.position(), max );
}
void AudioWidget::setDisplayType( MediaPlayerState::DisplayType mediaType ) {
if ( mediaType == MediaPlayerState::Audio ) {
// startTimer( 150 );
- QPEApplication::showDialog( this );
+ QPEApplication::showWidget( this );
return;
}
killTimers();
hide();
}
void AudioWidget::loadSkin()
{
loadDefaultSkin( guiInfo() );
songInfo.setFocusPolicy( QWidget::NoFocus );
// changeTextColor( &songInfo );
// songInfo.setBackgroundColor( QColor( 167, 212, 167 ));
// songInfo.setFrameStyle( QFrame::NoFrame);
songInfo.setFrameStyle( QFrame::WinPanel | QFrame::Sunken );
// songInfo.setForegroundColor(Qt::white);
slider.setFixedHeight( 20 );
slider.setMinValue( 0 );
slider.setMaxValue( 1 );
slider.setFocusPolicy( QWidget::NoFocus );
slider.setBackgroundPixmap( backgroundPixmap );