author | llornkcor <llornkcor> | 2002-08-03 20:17:36 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-03 20:17:36 (UTC) |
commit | 8fb605fdfbbcbc654f567efcb59f02ec0d26228a (patch) (side-by-side diff) | |
tree | a51e37a8b6248ca9cebe46d9f308caaa298e7f2f /noncore/multimedia/opieplayer2 | |
parent | aa06a62511cabebeaad1d3dda34b30640f967dea (diff) | |
download | opie-8fb605fdfbbcbc654f567efcb59f02ec0d26228a.zip opie-8fb605fdfbbcbc654f567efcb59f02ec0d26228a.tar.gz opie-8fb605fdfbbcbc654f567efcb59f02ec0d26228a.tar.bz2 |
fixed segfault on Properties
Diffstat (limited to 'noncore/multimedia/opieplayer2') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 1dee422..9065d63 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -842,8 +842,7 @@ void PlayListWidget::listDelete() { { - file = audioView->selectedItem()->text(0); - QListIterator<DocLnk> dit( files.children() ); - for ( ; dit.current(); ++dit ) { - if( dit.current()->name() == file) { - // qDebug(file); - LnkProperties prop( dit.current() ); + file = audioView->currentItem()->text(0); + QListIterator<DocLnk> Pdit( files.children() ); + for ( ; Pdit.current(); ++Pdit ) { + if( Pdit.current()->name() == file) { + LnkProperties prop( Pdit.current() ); prop.showMaximized(); |