From 388bf3532a829e7f3a8c39348284b9b87b83c2e9 Mon Sep 17 00:00:00 2001 From: vtn Date: Mon, 7 Apr 2008 12:36:45 +0000 Subject: [PATCH] HDFE19454: In case if we split viewer zone on three parts it is restored incorreclty (mirrored). --- src/Qtx/QtxWorkstack.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Qtx/QtxWorkstack.cxx b/src/Qtx/QtxWorkstack.cxx index ce0a5fc88..a984edfe5 100644 --- a/src/Qtx/QtxWorkstack.cxx +++ b/src/Qtx/QtxWorkstack.cxx @@ -38,6 +38,9 @@ #include #include +#include +#include + #define DARK_COLOR_LIGHT 250 /*! @@ -2749,8 +2752,11 @@ void QtxWorkstack::splitterInfo( QSplitter* split, QString& info ) const { if ( !split ) return; - - const QObjectList& objs = split->children(); + //const QObjectList& objs = split->children(); + QObjectList objs; + for(int si = 0; si < split->count(); si++) { + objs.append((QObject*)split->widget(si)); + } QString sizesStr; QList sizes = split->sizes(); -- 2.39.2