diff options
Diffstat (limited to 'noatun/modules/splitplaylist/playlist.cpp')
-rw-r--r-- | noatun/modules/splitplaylist/playlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noatun/modules/splitplaylist/playlist.cpp b/noatun/modules/splitplaylist/playlist.cpp index 787791ac..3d42d566 100644 --- a/noatun/modules/splitplaylist/playlist.cpp +++ b/noatun/modules/splitplaylist/playlist.cpp @@ -217,13 +217,13 @@ void SplitPlaylist::setCurrent(const PlaylistItem &i, bool emitC) if (now) now->setPixmap(0, TQPixmap()); - TQRect rect(view->listView()->tqitemRect(static_cast<SafeListViewItem*>(current().data()))); + TQRect rect(view->listView()->itemRect(static_cast<SafeListViewItem*>(current().data()))); rect.setWidth(view->listView()->viewport()->width()); currentItem=i; view->listView()->viewport()->tqrepaint(rect,true); view->listView()->ensureItemVisible(static_cast<SafeListViewItem*>(current().data())); - TQRect currentRect= view->listView()->tqitemRect(static_cast<SafeListViewItem*>(current().data())); + TQRect currentRect= view->listView()->itemRect(static_cast<SafeListViewItem*>(current().data())); view->listView()->viewport()->tqrepaint(currentRect); now=static_cast<SafeListViewItem*>(current().data()); |