Mercurial > hg > svapp
comparison framework/SVFileReader.cpp @ 89:3b616971bdc6 sv1-v1.2pre3
* line up overview widget nicely with main pane (at least on first startup)
* fix #1878396 renaming layer seems to have no visible effect
* comment out some debug output
author | Chris Cannam |
---|---|
date | Wed, 06 Feb 2008 17:40:53 +0000 |
parents | 1fa8d5e28d0f |
children | b9faa1418d29 |
comparison
equal
deleted
inserted
replaced
88:9c904ede116c | 89:3b616971bdc6 |
---|---|
739 if (isNewLayer) { | 739 if (isNewLayer) { |
740 | 740 |
741 QString name = attributes.value("name"); | 741 QString name = attributes.value("name"); |
742 layer->setObjectName(name); | 742 layer->setObjectName(name); |
743 | 743 |
744 QString presentationName = attributes.value("presentationName"); | |
745 layer->setPresentationName(presentationName); | |
746 | |
744 int modelId; | 747 int modelId; |
745 bool modelOk = false; | 748 bool modelOk = false; |
746 modelId = attributes.value("model").trimmed().toInt(&modelOk); | 749 modelId = attributes.value("model").trimmed().toInt(&modelOk); |
747 | 750 |
748 if (modelOk) { | 751 if (modelOk) { |