summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/xinecontrol.cpp
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/xinecontrol.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp
index c03ea16..766ece2 100644
--- a/noncore/multimedia/opieplayer2/xinecontrol.cpp
+++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp
@@ -82,25 +82,24 @@ void XineControl::play( const QString& fileName ) {
82 return; 82 return;
83 } 83 }
84 84
85 if (whichGui == 'a') { 85 if (whichGui == 'a') {
86 libXine->setShowVideo( false ); 86 libXine->setShowVideo( false );
87 hasAudioChannel=TRUE; 87 hasAudioChannel=TRUE;
88 } else { 88 } else {
89 libXine->setShowVideo( true ); 89 libXine->setShowVideo( true );
90 hasVideoChannel=TRUE; 90 hasVideoChannel=TRUE;
91 } 91 }
92 92
93 // determine if slider is shown 93 // determine if slider is shown
94 // mediaPlayerState->setIsStreaming( mdetect.isStreaming( fileName ) );
95 mediaPlayerState->setIsStreaming( !libXine->isSeekable() ); 94 mediaPlayerState->setIsStreaming( !libXine->isSeekable() );
96 // which gui (video / audio) 95 // which gui (video / audio)
97 mediaPlayerState->setView( whichGui ); 96 mediaPlayerState->setView( whichGui );
98 97
99#if defined(Q_WS_QWS) && !defined(QT_NO_COP) 98#if defined(Q_WS_QWS) && !defined(QT_NO_COP)
100 if ( !disabledSuspendScreenSaver ) { 99 if ( !disabledSuspendScreenSaver ) {
101 disabledSuspendScreenSaver = TRUE; 100 disabledSuspendScreenSaver = TRUE;
102 // Stop the screen from blanking and power saving state 101 // Stop the screen from blanking and power saving state
103 QCopEnvelope("QPE/System", "setScreenSaverMode(int)" ) 102 QCopEnvelope("QPE/System", "setScreenSaverMode(int)" )
104 << ( whichGui == 'v' ? QPEApplication::Disable : QPEApplication::DisableSuspend ); 103 << ( whichGui == 'v' ? QPEApplication::Disable : QPEApplication::DisableSuspend );
105 } 104 }
106#endif 105#endif