From: vtn Date: Mon, 7 Apr 2008 12:36:45 +0000 (+0000) Subject: HDFE19454: In case if we split viewer zone on three parts it is restored incorreclty... X-Git-Tag: TG_ACHERON_2008-04-13~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=388bf3532a829e7f3a8c39348284b9b87b83c2e9;p=modules%2Fgui.git HDFE19454: In case if we split viewer zone on three parts it is restored incorreclty (mirrored). --- 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();