there is only one location populated to the list.
<file>res/images/list_item_context_button_bar_right.png</file>
<file>res/images/list_item_context_button_bar_tile.png</file>
<file>res/images/search_history.png</file>
- <file>res/images/clear_btn_d.png</file>
- <file>res/images/clear_btn_s.png</file>
- <file>res/images/clear_btn.png</file>
<file>res/images/contact_btn.png</file>
<file>res/images/contact_btn_d.png</file>
<file>res/images/contact_btn_s.png</file>
+ <file>res/images/back_btn_d.png</file>
+ <file>res/images/back_btn_s.png</file>
+ <file>res/images/back_btn.png</file>
</qresource>
</RCC>
if (!guid.isEmpty())
m_ui->showContactDialog(guid);
else
- m_ui->buildInformationBox(tr("Unable to find contact.\nYou must have Facebook "
- "chat account to be able to open contact dialog."), true);
+ m_ui->buildInformationBox(tr("Unable to find contact.\nAdd Facebook IM "
+ "account from Conversations to use this feature."), true);
}
void SituareEngine::signalsFromFacebookAuthenticator()
if (m_currentItem)
m_currentItem->setSelected(false);
+
+ emit listItemSelectionChanged();
}
void ListView::clearList()
{
qDebug() << __PRETTY_FUNCTION__;
+ clearItemSelection();
+
qDeleteAll(m_listItems.begin(), m_listItems.end());
m_listItems.clear();
clear();
connect(searchLocationButton, SIGNAL(clicked()),
this, SIGNAL(requestSearchLocation()));
- m_clearLocationListButton = new ImageButton(":/res/images/clear_btn.png",
- ":/res/images/clear_btn_s.png",
- ":/res/images/clear_btn_d.png", this);
+ m_clearLocationListButton = new ImageButton(":/res/images/back_btn.png",
+ ":/res/images/back_btn_s.png",
+ ":/res/images/back_btn_d.png", this);
m_clearLocationListButton->setDisabled(true);
connect(m_clearLocationListButton, SIGNAL(clicked()),
m_locationListView->addListItem(QString::number(i), item);
}
- const int FIRST_LOCATION_ITEM_INDEX = 0;
- const int ONE_LOCATION_ITEM = 1;
-
- if (locations.size() == ONE_LOCATION_ITEM) {
- ListItem *item = m_locationListView->listItemAt(FIRST_LOCATION_ITEM_INDEX);
-
- if (item)
- m_locationListView->setSelectedItem(item);
- }
-
m_locationListView->scrollToTop();
}