Commit f9cf0f7a authored by Jan Möbius's avatar Jan Möbius

Fixed crash in drag and drop code

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14993 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c53c90bc
......@@ -1078,14 +1078,10 @@ bool glViewer::decodeView(const QString& _view, QSize *_windowSize /*= NULL*/, i
//*********************************************************
//parse the splitter width for the toolboxes if requested
//*********************************************************
if (_splitterWidth )
{
if (_splitterWidth) {
*_splitterWidth = split[34].toInt();
} else {
*_splitterWidth = -1;
}
//*********************************************************
// Projection mode and orthogonal width
//*********************************************************
......@@ -1122,7 +1118,9 @@ bool glViewer::decodeView(const QString& _view, QSize *_windowSize /*= NULL*/, i
//*********************************************************
// Return -1 to inform, that the value is unknown
//*********************************************************
*_splitterWidth = -1;
if (_splitterWidth) {
*_splitterWidth = -1;
}
//*********************************************************
// Projection mode and orthogonal width
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment