Hi,
I have a problem that I can't find the ini file and it seems that even the default settings are not set.
The declaration:
After it I expect the File created
Code:
defaultvalues(); p_projsettings->sync(); { retval=false; } else { retval=true; } qDebug() << "Status ProjSettings:" << retval; return (retval);
The status is alway false
Code:
void INI_FILE::defaultvalues() { p_projsettings->value("BAUD","230400"); p_projsettings->value("PORT","COM3"); p_projsettings->value("PARITY","NONE"); p_projsettings->value("DATABIT","8"); p_projsettings->value("STOPBIT","1"); p_projsettings->value("FLOWCONTROL","FLOW_OFF"); p_projsettings->value("TIMEOUT","150"); // qDebug("projsettings BAUD",projsettings->value("BAUD")); qDebug() << "projsettings BAUD:" << p_projsettings->value("BAUD").toString(); p_projsettings->sync(); }
Could anybody please tell me what is wrong?
Thanks!

