Summary: | Issues when editing track information of an Audio-CD | ||
---|---|---|---|
Product: | [Applications] k3b | Reporter: | Elias Probst <mail> |
Component: | Audio Project | Assignee: | Sebastian Trueg <trueg> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.0pre2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | K3B Audio-CD view. |
Description
Elias Probst
2006-09-17 15:54:13 UTC
Created attachment 17808 [details]
K3B Audio-CD view.
See the last half-visible track in the list. K3B should scroll when editing
this one.
Happens here as well. Note that this refers to audio cd ripping and not for editing audio project information. SVN commit 605799 by trueg: Ensure that the edited item is always visible, BUG: 134208 M +5 -12 k3blistview.cpp --- trunk/extragear/multimedia/k3b/libk3b/tools/k3blistview.cpp #605798:605799 @@ -554,13 +554,6 @@ K3bListView::~K3bListView() { - // FIXME: is this really necessary or does viewport() delete them? - delete m_editorButton; - delete m_editorComboBox; - delete m_editorSpinBox; - delete m_editorLineEdit; - delete m_editorMsfEdit; - delete d; } @@ -639,11 +632,8 @@ void K3bListView::placeEditor( K3bListViewItem* item, int col ) { + ensureItemVisible( item ); QRect r = itemRect( item ); - if ( !r.size().isValid() ) { - ensureItemVisible( item ); - r = itemRect( item ); - } r.setX( contentsToViewport( QPoint(header()->sectionPos( col ), 0) ).x() ); r.setWidth( header()->sectionSize( col ) - 1 ); @@ -983,8 +973,11 @@ } -bool K3bListView::renameItem( K3bListViewItem*, int col, const QString& text ) +bool K3bListView::renameItem( K3bListViewItem* item, int col, const QString& text ) { + Q_UNUSED(item); + Q_UNUSED(col); + Q_UNUSED(text); return true; } |