Fix memory leaks.
Use "/" separator for internal cmaobject nodes. Use new vitamtp init function. Remove console config for Win32.
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -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");
|
||||
|
Reference in New Issue
Block a user