Commit 308a4ba9 authored by Michael Pyne's avatar Michael Pyne

Change the Google fetcher dialog a little bit.

* Use the Single selection mode instead of Extended, it doesn't make sense to
  select more than one cover for an album anyways.
* Allow double-clicking an item to automatically accept it.

svn path=/trunk/kdemultimedia/juk/; revision=407904
parent f8bc4e7f
......@@ -45,12 +45,12 @@ GoogleFetcherDialog::GoogleFetcherDialog(const QString &name,
QHBox *mainBox = new QHBox(this);
m_iconWidget = new KIconView(mainBox);
m_iconWidget->setResizeMode(QIconView::Adjust);
m_iconWidget->setSelectionMode(QIconView::Extended);
m_iconWidget->setSpacing(10);
m_iconWidget->setMode(KIconView::Select);
m_iconWidget->setFixedSize(500,550);
m_iconWidget->arrangeItemsInGrid();
m_iconWidget->setItemsMovable(FALSE);
connect(m_iconWidget, SIGNAL(executed(QIconViewItem *)),
this, SLOT(slotOk()));
QHBox *imgSize = new QHBox(actionButton(User1)->parentWidget());
QLabel *label = new QLabel(imgSize);
......
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