bpetty
14th August 2006, 19:47
Hey guys. I am having a problem with QSetting. The problem is that I am reading from an ini that looks like this:
[Current Server Directory]
current.dir=c:\indir
I am using the following code:
QSettings INConfig(sPath, QSettings::IniFormat);
std::cout << "ServerDir: " << INConfig.value("Current Server Directory/current.dir").toString().toStdString() << std::endl;
Basically, my problem is that it returns: c:ndir
I call this a bug... troll tech may call this a feature. Is there anyway to turn this "feature" off?
;) Thank,
Brandon P.
[Current Server Directory]
current.dir=c:\indir
I am using the following code:
QSettings INConfig(sPath, QSettings::IniFormat);
std::cout << "ServerDir: " << INConfig.value("Current Server Directory/current.dir").toString().toStdString() << std::endl;
Basically, my problem is that it returns: c:ndir
I call this a bug... troll tech may call this a feature. Is there anyway to turn this "feature" off?
;) Thank,
Brandon P.