-void NickView::unanimatedExpandAll() {
- // since of Qt Version 4.8.0 the default expandAll will not properly work if
- // animations are enabled. Therefore we perform an unanimated expand when a
- // model is set or a toplevel node is inserted.
- bool wasAnimated = isAnimated();
- setAnimated(false);
- expandAll();
- setAnimated(wasAnimated);
+
+void NickView::unanimatedExpandAll()
+{
+ // since of Qt Version 4.8.0 the default expandAll will not properly work if
+ // animations are enabled. Therefore we perform an unanimated expand when a
+ // model is set or a toplevel node is inserted.
+ bool wasAnimated = isAnimated();
+ setAnimated(false);
+ expandAll();
+ setAnimated(wasAnimated);