Skip to content

Commit

Permalink
Current version of Psi+ is 1.5.1946
Browse files Browse the repository at this point in the history
It is based on:
* psi: c9955acc
* plugins: 7a65467
* psimedia: 478567e
* resources: e32ef4b
  • Loading branch information
tehnick committed Jun 5, 2024
1 parent e846e91 commit 2e45826
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/infodlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ InfoWidget::InfoWidget(int type, const Jid &j, const VCard &vcard, PsiAccount *p
d->pa = pa;
d->busy = false;
d->te_edited = false;
d->pa->dialogRegister(this, j);
d->pa->dialogRegister(window(), j);
d->dateTextFormat = "d MMM yyyy";

setWindowTitle(d->jid.full());
Expand Down Expand Up @@ -357,7 +357,7 @@ InfoWidget::InfoWidget(int type, const Jid &j, const VCard &vcard, PsiAccount *p

InfoWidget::~InfoWidget()
{
d->pa->dialogUnregister(this);
d->pa->dialogUnregister(window());
delete d->userListItem;
d->userListItem = nullptr;
delete d;
Expand Down
11 changes: 6 additions & 5 deletions src/psiaccount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -805,11 +805,12 @@ public slots:

void dialogRegister(QWidget *w, const Jid &jid)
{
connect(w, &QWidget::destroyed, this, &Private::forceDialogUnregister);
item_dialog2 *i = new item_dialog2;
i->widget = w;
i->jid = jid;
dialogList.append(i);
if (connect(w, &QWidget::destroyed, this, &Private::forceDialogUnregister, Qt::UniqueConnection)) {
item_dialog2 *i = new item_dialog2;
i->widget = w;
i->jid = jid;
dialogList.append(i);
}
}

void dialogUnregister(QWidget *w)
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.1945 (2024-06-05, fb021b10)
1.5.1946 (2024-06-05, c9955acc)

0 comments on commit 2e45826

Please sign in to comment.