author | llornkcor <llornkcor> | 2002-08-17 15:05:08 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-17 15:05:08 (UTC) |
commit | 5f271187a72b18339310f12a2c753e9b8548c078 (patch) (side-by-side diff) | |
tree | 147455c2af3f85358f67a7a6b9cc15587b3dadab | |
parent | d9311a2086108b6880bcb17d7317c629068d5e6c (diff) | |
download | opie-5f271187a72b18339310f12a2c753e9b8548c078.zip opie-5f271187a72b18339310f12a2c753e9b8548c078.tar.gz opie-5f271187a72b18339310f12a2c753e9b8548c078.tar.bz2 |
set sorting on audio/video tabs
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 0c3ea74..874800a 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -221,2 +221,3 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) audioView->setAllColumnsShowFocus(TRUE); + audioView->setSorting(0,TRUE); @@ -246,2 +247,4 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) videoView->setAllColumnsShowFocus(TRUE); + videoView->setSorting(0,TRUE); + videoView->setMultiSelection( TRUE ); @@ -249,6 +252,2 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) -// d->playListFrame->setMaximumSize(235,240); -// audioView->setMaximumSize(233,240); -// videoView->setMaximumSize(233,240); - Vlayout->addMultiCellWidget( videoView, 0, 0, 0, 1 ); @@ -267,3 +266,2 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) playLists = new FileSelector( "playlist/plain", LTab, "fileselector" , FALSE, FALSE); //buggy - // playLists->setMinimumSize(233,260); Llayout->addMultiCellWidget( playLists, 0, 0, 0, 1 ); @@ -911,2 +909,3 @@ void PlayListWidget::scanForAudio() { } + void PlayListWidget::scanForVideo() { @@ -1113,3 +1112,3 @@ void PlayListWidget::readm3u(const QString &filename) { s=s.right(s.length()-2); - if(QFile(s).exists()) { + // if(QFile(s).exists()) { DocLnk lnk( s ); @@ -1124,3 +1123,3 @@ void PlayListWidget::readm3u(const QString &filename) { d->selectedFiles->addToSelection( lnk); - } + // } } else { // is url |