QTfrontend/ui/widget/chatwidget.cpp
changeset 9493 23c674bfa2e2
parent 9134 9330bacf2569
child 9726 dfdde45181ec
--- a/QTfrontend/ui/widget/chatwidget.cpp	Fri Oct 04 18:41:06 2013 +0400
+++ b/QTfrontend/ui/widget/chatwidget.cpp	Mon Oct 07 22:22:49 2013 +0400
@@ -930,3 +930,17 @@
         chatText->verticalScrollBar()->setValue(m_scrollBarPos);
     }
 }
+
+void HWChatWidget::resizeEvent(QResizeEvent * event)
+{
+    Q_UNUSED(event);
+
+    afterContentAdd();
+}
+
+void HWChatWidget::showEvent(QShowEvent * event)
+{
+    Q_UNUSED(event);
+
+     afterContentAdd();
+}