summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayer.cpp1
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp11
2 files changed, 8 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp
index 603d426..bf2acc8 100644
--- a/noncore/multimedia/opieplayer2/mediaplayer.cpp
+++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp
@@ -182,8 +182,9 @@ void MediaPlayer::timerEvent( QTimerEvent * ) {
}
// TODO FIXME
+ // huh??
unsigned int v= 0;
v = volControl->volume();
v = v / 10;
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index 6c7f6ba..603a7a3 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -124,17 +124,18 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl )
loadList(DocLnk( currentPlaylist ) );
setCaption( tr( "OpiePlayer: " ) + currentPlaylist );
// see which skins are installed
+ videoScan=FALSE;
+ audioScan=FALSE;
populateSkinsMenu();
initializeStates();
}
PlayListWidget::~PlayListWidget() {
-/* fixing symptoms and not sources is entirely stupid - zecke */
-// Config cfg( "OpiePlayer" );
-// writeConfig( cfg );
+ // WTF?!@?!
+
if ( d->current ) {
delete d->current;
}
delete d;
@@ -783,9 +784,9 @@ void PlayListWidget::openFile() {
readm3u( filename );
} else if( filename.right(3) == "pls" ) {
readPls( filename );
} else {
- /* FIXME ....... AUDIO/X-MPEGURL is bad*/
+ // this doesnt need fixing
DocLnk lnk;
lnk.setName( filename ); //sets file name
lnk.setFile( filename ); //sets File property
//qWarning( "Mimetype: " + MimeType( QFile::encodeName(filename) ).id() );
@@ -928,8 +929,10 @@ void PlayListWidget::writem3u() {
// we dont check for existance because of url's
// qDebug(d->selectedFiles->current()->file());
// so maybe we should do some net checking to ,-)
+ // no, cause it takes to long...
+
list += d->selectedFiles->current()->file() + "\n";
noOfFiles++;
}
while ( d->selectedFiles->next() );