Fix memory leaks.

Use "/" separator for internal cmaobject nodes.
Use new vitamtp init function.
Remove console config for Win32.
This commit is contained in:
codestation
2013-09-22 19:02:42 -04:30
parent d2e584220e
commit 71a7bed50d
9 changed files with 44 additions and 22 deletions

View File

@@ -71,12 +71,12 @@ int main(int argc, char *argv[])
QTranslator translator;
QString locale = QLocale().system().name();
qDebug() << "Current locale:" << locale;
qDebug("Current locale: %s", locale.toUtf8().data());
if(translator.load("qcma." + locale, ":/main/resources/translations")) {
app.installTranslator(&translator);
}
qDebug() << "From main thread: "<< QThread::currentThreadId();
qDebug("Starting main thread: %u", (unsigned int)QThread::currentThreadId());
// set the organization/application for QSettings to work properly
app.setOrganizationName("qcma");