summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2011-03-04 08:10:30 +0000
committerdeva <deva>2011-03-04 08:10:30 +0000
commitd8a34adcc1a69a2b77881a6e504d0f0ad896eb3a (patch)
tree0fb2ddc53c77e3aec664daf9707c1860fd4eeb29 /client/mainwindow.cc
parent1bda89969eaf0f8dc07ec831c94aa23fbee985a2 (diff)
Simplify Collapser (animateToWidget instead of collapse/expand).
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r--client/mainwindow.cc5
1 files changed, 3 insertions, 2 deletions
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++;