From d8a34adcc1a69a2b77881a6e504d0f0ad896eb3a Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 4 Mar 2011 08:10:30 +0000 Subject: Simplify Collapser (animateToWidget instead of collapse/expand). --- client/mainwindow.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/mainwindow.cc') diff --git a/client/mainwindow.cc b/client/mainwindow.cc index 31039d4..6ee17c8 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -335,9 +335,10 @@ void MainWindow::update() if(m1 && m2 && m1 != m2 && _m2.isstatic == false) { // Remove old connection (if any), to avoid multiple connections. - disconnect(m1, SIGNAL(expanding()), m2, SLOT(collapseWrapper())); + disconnect(m1, SIGNAL(animating(QWidget*)), + m2, SLOT(collapseWrapper())); - connect(m1, SIGNAL(expanding()), m2, SLOT(collapseWrapper())); + connect(m1, SIGNAL(animating(QWidget*)), m2, SLOT(collapseWrapper())); } j++; -- cgit v1.2.3