Commit 1925f408 authored by Jan Möbius's avatar Jan Möbius
Browse files

Warn on old ini file format

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4193 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c36468c2
...@@ -495,9 +495,9 @@ void Core::openIniFile(QString _filename) { ...@@ -495,9 +495,9 @@ void Core::openIniFile(QString _filename) {
if ( ini.get_entry( tmpType, sectionName , "type" )) { if ( ini.get_entry( tmpType, sectionName , "type" )) {
type = DataType(tmpType); type = DataType(tmpType);
emit log(LOGWARN, "This ini file uses old int style ObjectType fields!" );
emit log(LOGWARN, "Please convert it to new format! ( ... just save it )" );
} else { } else {
std::cerr << "Unable to get an integer from the type field!" << std::endl;
std::cerr << "Assuming new inifile version" << std::endl;
QString typeName=""; QString typeName="";
......
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