author | llornkcor <llornkcor> | 2003-01-19 23:11:02 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-01-19 23:11:02 (UTC) |
commit | 512e600c777643230a032e89f7446b4099f54a86 (patch) (unidiff) | |
tree | 0a19e567b5acc6f44c5d5957fcaf097350f84a03 /core/multimedia/opieplayer/playlistselection.cpp | |
parent | 4e9ddbd0da3de7d0d03d7a39f05643dec07cc2cf (diff) | |
download | opie-512e600c777643230a032e89f7446b4099f54a86.zip opie-512e600c777643230a032e89f7446b4099f54a86.tar.gz opie-512e600c777643230a032e89f7446b4099f54a86.tar.bz2 |
partly fix playing from audio and video views
Diffstat (limited to 'core/multimedia/opieplayer/playlistselection.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/playlistselection.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/multimedia/opieplayer/playlistselection.cpp b/core/multimedia/opieplayer/playlistselection.cpp index 85228a9..67187f8 100644 --- a/core/multimedia/opieplayer/playlistselection.cpp +++ b/core/multimedia/opieplayer/playlistselection.cpp | |||
@@ -65,3 +65,4 @@ PlayListSelection::PlayListSelection( QWidget *parent, const char *name ) | |||
65 | header()->hide(); | 65 | header()->hide(); |
66 | setSorting( -1, FALSE ); | 66 | // setSorting( -1, FALSE ); |
67 | // FIXME | ||
67 | } | 68 | } |
@@ -106,7 +107,7 @@ void PlayListSelection::addToSelection( const DocLnk &lnk ) { | |||
106 | PlayListSelectionItem *item = new PlayListSelectionItem( this, new DocLnk( lnk ) ); | 107 | PlayListSelectionItem *item = new PlayListSelectionItem( this, new DocLnk( lnk ) ); |
107 | QListViewItem *current = selectedItem(); | 108 | QListViewItem *current = selectedItem(); |
108 | if ( current ) | 109 | if ( current ) |
109 | item->moveItem( current ); | 110 | item->moveItem( current ); |
110 | setSelected( item, TRUE ); | 111 | setSelected( item, TRUE ); |
111 | ensureItemVisible( selectedItem() ); | 112 | ensureItemVisible( item); |
112 | } | 113 | } |