Changeset 1538 in ntrip for trunk/BNC/bncsettings.cpp


Ignore:
Timestamp:
Jan 25, 2009, 9:39:53 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncsettings.cpp

    r1537 r1538  
    1919
    2020#include "bncsettings.h"
     21#include "bncapp.h"
    2122
    2223// Constructor
    2324////////////////////////////////////////////////////////////////////////////
    2425bncSettings::bncSettings() :
    25   QSettings(QCoreApplication::applicationName().append(".ini"),
    26             QSettings::IniFormat) {
     26  QSettings(((bncApp*) qApp)->confFileName(), QSettings::IniFormat) {
    2727
    2828  if (allKeys().size() == 0) {
     
    7373    setValue("startTab",         "0");
    7474    setValue("waitTime",         "5");
     75
     76    sync();
    7577  }
    7678}
Note: See TracChangeset for help on using the changeset viewer.