Commit 8ea3c1af authored by Scott Wheeler's avatar Scott Wheeler

Fixed the interface bug of the focus starting out on the volume control and

removed the getSelectedItem() method from TaggerWidget.

svn path=/trunk/kdemultimedia/juk/; revision=144141
parent 0688f0b5
...@@ -96,6 +96,8 @@ void JuK::setupLayout() ...@@ -96,6 +96,8 @@ void JuK::setupLayout()
// playlist item activation connection // playlist item activation connection
connect(playlist->getPlaylistList(), SIGNAL(doubleClicked(QListViewItem *)), this, SLOT(playItem(QListViewItem *))); connect(playlist->getPlaylistList(), SIGNAL(doubleClicked(QListViewItem *)), this, SLOT(playItem(QListViewItem *)));
tagger->getTaggerList()->setFocus();
} }
void JuK::setupPlayer() void JuK::setupPlayer()
......
...@@ -53,12 +53,9 @@ void TaggerWidget::add(QStringList *items) ...@@ -53,12 +53,9 @@ void TaggerWidget::add(QStringList *items)
taggerList->append(items); taggerList->append(items);
} }
FileListItem *TaggerWidget::getSelectedItem() FileList *TaggerWidget::getTaggerList()
{ {
if(taggerList && taggerList->getSelectedItem()) return(taggerList);
return(taggerList->getSelectedItem());
else
return(0);
} }
QPtrList<QListViewItem> *TaggerWidget::getSelectedItems() QPtrList<QListViewItem> *TaggerWidget::getSelectedItems()
......
...@@ -40,7 +40,9 @@ public: ...@@ -40,7 +40,9 @@ public:
void add(QString item); void add(QString item);
void add(QStringList *items); void add(QStringList *items);
FileListItem *getSelectedItem(); FileList *getTaggerList();
// FileListItem *getSelectedItem();
QPtrList<QListViewItem> *getSelectedItems(); QPtrList<QListViewItem> *getSelectedItems();
public slots: public slots:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment