forked from blue/squawk
an idea how to manage info object better
This commit is contained in:
parent
ec362cef55
commit
6f32e99593
12 changed files with 390 additions and 63 deletions
|
@ -412,7 +412,7 @@ void Squawk::onRosterContextMenu(const QPoint& point) {
|
|||
}
|
||||
|
||||
void Squawk::responseInfo(const Shared::Info& info) {
|
||||
std::map<QString, UI::Info*>::const_iterator itr = infoWidgets.find(info.jid);
|
||||
std::map<QString, UI::Info*>::const_iterator itr = infoWidgets.find(info.getAddressRef());
|
||||
if (itr != infoWidgets.end()) {
|
||||
itr->second->setData(info);
|
||||
itr->second->hideProgress();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue