Subversion Repositories svn1-original

Rev

Rev 324 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 324 Rev 327
Line 43... Line 43...
43
QmConfig::QmConfig(void)
43
QmConfig::QmConfig(void)
44
{
44
{
45
    /*
45
    /*
46
    ** Init appSettings - once !
46
    ** Init appSettings - once !
47
    */
47
    */
-
 
48
    //qDebug("Create a QmConfig");
48
    if (!appSettings)
49
    if (!appSettings)
49
    {
50
    {
50
        appSettings = new QSettings(getAddendemFile("mara.ini", true), QSettings::IniFormat); 
51
        appSettings = new QSettings(getAddendemFile("mara.ini", true), QSettings::IniFormat); 
51
    }
52
    }
52
}
53
}
Line 65... Line 66...
65
    ** This will force the items to be flushed
66
    ** This will force the items to be flushed
66
    */
67
    */
67
    if (appSettings)
68
    if (appSettings)
68
    {
69
    {
69
        delete(appSettings);
70
        delete(appSettings);
-
 
71
        appSettings = NULL;
70
    }
72
    }
71
}
73
}
72
 
74
 
73
void QmConfig::load(const QString &cnfFile)
75
void QmConfig::load(const QString &cnfFile)
74
{
76
{