Browse Source

Merge remote-tracking branch 'PKEv/fix__switching_contacts_view'

pull/2345/head
agilob 10 years ago
parent
commit
7521cd4785
No known key found for this signature in database
GPG Key ID: 296F0B764741106C
  1. 4
      src/widget/genericchatroomwidget.cpp

4
src/widget/genericchatroomwidget.cpp

@ -54,9 +54,11 @@ bool GenericChatroomWidget::eventFilter(QObject *, QEvent *) @@ -54,9 +54,11 @@ bool GenericChatroomWidget::eventFilter(QObject *, QEvent *)
void GenericChatroomWidget::compactChange(bool _compact)
{
if (!isCompact())
delete textLayout; // has to be first, deleted by layout
setCompact(_compact);
delete textLayout; // has to be first, deleted by layout
delete mainLayout;
mainLayout = new QHBoxLayout;

Loading…
Cancel
Save