Print Settings path at startup for debug
This commit is contained in:
parent
ad38a60171
commit
2006674fc1
@ -76,6 +76,7 @@ int main(int argc, char* argv[])
|
|||||||
appSettings = new QSettings(portableIni, QSettings::IniFormat);
|
appSettings = new QSettings(portableIni, QSettings::IniFormat);
|
||||||
else
|
else
|
||||||
appSettings = new QSettings();
|
appSettings = new QSettings();
|
||||||
|
qDebug("Settings: %s", qPrintable(appSettings->fileName()));
|
||||||
|
|
||||||
OstProtoLib::setExternalApplicationPaths(
|
OstProtoLib::setExternalApplicationPaths(
|
||||||
appSettings->value(kTsharkPathKey, kTsharkPathDefaultValue).toString(),
|
appSettings->value(kTsharkPathKey, kTsharkPathDefaultValue).toString(),
|
||||||
|
@ -78,6 +78,7 @@ int main(int argc, char *argv[])
|
|||||||
QSettings::UserScope,
|
QSettings::UserScope,
|
||||||
app.organizationName(),
|
app.organizationName(),
|
||||||
app.applicationName().toLower());
|
app.applicationName().toLower());
|
||||||
|
qDebug("Settings: %s", qPrintable(appSettings->fileName()));
|
||||||
|
|
||||||
drone = new Drone();
|
drone = new Drone();
|
||||||
OstProtocolManager = new ProtocolManager();
|
OstProtocolManager = new ProtocolManager();
|
||||||
|
Loading…
Reference in New Issue
Block a user