changeset 314 | 83773ccf4f09 |
parent 251 | e4058e1ba394 |
child 320 | 1ee7f087195a |
--- a/QTfrontend/mapContainer.cpp Mon Jan 08 21:44:57 2007 +0000 +++ b/QTfrontend/mapContainer.cpp Wed Jan 10 23:21:05 2007 +0000 @@ -117,9 +117,9 @@ QTextStream input(&mapCfgFile); QString theme; input >> theme; + mapCfgFile.close(); if(theme.length()>256) throw MapFileErrorException(); // theme name too long return theme; - mapCfgFile.close(); } else { throw MapFileErrorException(); }