From d0c3cf701102d08afd253f515df74f33ffeed3cc Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Fri, 29 Apr 2011 15:06:17 +0200 Subject: A better fix for the strange rendering performance issue in tabbed mode. License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index e7cfa2b..326660f 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp @@ -433,7 +433,9 @@ void QtChatWindow::handleInputChanged() { } void QtChatWindow::show() { - QWidget::show(); + if (parentWidget() == NULL) { + QWidget::show(); + } emit windowOpening(); } -- cgit v0.10.2-6-g49f6