Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index 0137ae5..fabc9a5 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp | |||
@@ -85,24 +85,25 @@ void XineControl::play( const QString& fileName ) { | |||
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 | // determine if slider is shown | 92 | // determine if slider is shown |
93 | mediaPlayerState->setIsStreaming( !libXine->isSeekable() ); | 93 | mediaPlayerState->setIsStreaming( !libXine->isSeekable() ); |
94 | // which gui (video / audio) | 94 | // which gui (video / audio) |
95 | mediaPlayerState->setView( whichGui ); | 95 | mediaPlayerState->setView( whichGui ); |
96 | 96 | ||
97 | |||
97 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 98 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) |
98 | if ( !disabledSuspendScreenSaver ) { | 99 | if ( !disabledSuspendScreenSaver ) { |
99 | disabledSuspendScreenSaver = TRUE; | 100 | disabledSuspendScreenSaver = TRUE; |
100 | // Stop the screen from blanking and power saving state | 101 | // Stop the screen from blanking and power saving state |
101 | QCopEnvelope("QPE/System", "setScreenSaverMode(int)" ) | 102 | QCopEnvelope("QPE/System", "setScreenSaverMode(int)" ) |
102 | << ( whichGui == 'v' ? QPEApplication::Disable : QPEApplication::DisableSuspend ); | 103 | << ( whichGui == 'v' ? QPEApplication::Disable : QPEApplication::DisableSuspend ); |
103 | } | 104 | } |
104 | #endif | 105 | #endif |
105 | 106 | ||
106 | length(); | 107 | length(); |
107 | position(); | 108 | position(); |
108 | } | 109 | } |