summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-14 02:30:07 (UTC)
committer llornkcor <llornkcor>2002-11-14 02:30:07 (UTC)
commit3bfb64a41ca7948b593982fc1c266d5ec829b9ab (patch) (side-by-side diff)
treecf2641ddb698d7095cd63741caf6564a3a0e6fbb
parent8cdfc8e0209bbd9190176fdfcbeea2684cb5e8b8 (diff)
downloadopie-3bfb64a41ca7948b593982fc1c266d5ec829b9ab.zip
opie-3bfb64a41ca7948b593982fc1c266d5ec829b9ab.tar.gz
opie-3bfb64a41ca7948b593982fc1c266d5ec829b9ab.tar.bz2
hide the media column, and unhide the path column and changed default sorting to path column. might get rid of media column altogether.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidgetgui.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp b/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp
index 5d9fb5d..a217c94 100644
--- a/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp
@@ -154,14 +154,14 @@ PlayListWidgetGui::PlayListWidgetGui( QWidget* parent, const char* name, WFlags
Alayout->setMargin( 2 );
audioView = new QListView( aTab, "Audioview" );
audioView->addColumn( tr( "Title" ), 140 );
audioView->addColumn( tr( "Size" ), -1 );
- audioView->addColumn( tr( "Media" ), -1 );
- audioView->addColumn( tr( "Path" ), 0 );
+ audioView->addColumn( tr( "Media" ), 0 );
+ audioView->addColumn( tr( "Path" ), -1 );
audioView->setColumnAlignment( 1, Qt::AlignRight );
audioView->setColumnAlignment( 2, Qt::AlignRight );
audioView->setAllColumnsShowFocus( TRUE );
- audioView->setSorting( 0, TRUE );
+ audioView->setSorting( 3, TRUE );
audioView->setMultiSelection( TRUE );
audioView->setSelectionMode( QListView::Extended );
Alayout->addMultiCellWidget( audioView, 0, 0, 0, 1 );
tabWidget->insertTab( aTab, tr( "Audio" ) );
@@ -176,14 +176,14 @@ PlayListWidgetGui::PlayListWidgetGui( QWidget* parent, const char* name, WFlags
Vlayout->setMargin( 2 );
videoView = new QListView( vTab, "Videoview" );
videoView->addColumn( tr( "Title" ), 140);
videoView->addColumn( tr( "Size" ), -1 );
- videoView->addColumn(tr( "Media" ), -1 );
- videoView->addColumn(tr( "Path" ), 0 );
+ videoView->addColumn(tr( "Media" ), 0 );
+ videoView->addColumn(tr( "Path" ), -1 );
videoView->setColumnAlignment( 1, Qt::AlignRight );
videoView->setColumnAlignment( 2, Qt::AlignRight );
videoView->setAllColumnsShowFocus( TRUE );
- videoView->setSorting( 0, TRUE );
+ videoView->setSorting( 3, TRUE );
videoView->setMultiSelection( TRUE );
videoView->setSelectionMode( QListView::Extended );
Vlayout->addMultiCellWidget( videoView, 0, 0, 0, 1 );