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:
Qt Code:
  1. QSettings INConfig(sPath, QSettings::IniFormat);
  2. std::cout << "ServerDir: " << INConfig.value("Current Server Directory/current.dir").toString().toStdString() << std::endl;
To copy to clipboard, switch view to plain text mode 

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.