Skip to content

Commit 6b0c607

Browse files
authored
Merge pull request #6 from kolod/kolod-patch-1
Fix organization name and improve debug output
2 parents ff1008d + 504f38b commit 6b0c607

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

gui/main.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <QLibraryInfo>
2323
#include <QLoggingCategory>
2424
#include <QtGlobal>
25+
#include <QDebug>
2526

2627
#ifndef NDEBUG
2728
#include <QLocale>
@@ -32,7 +33,7 @@ int main(int argc, char *argv[])
3233
{
3334
QApplication a(argc, argv);
3435
a.setApplicationName("Arduino PPM Generator");
35-
a.setOrganizationName("Alexandr Kolodkin");
36+
a.setOrganizationName("Oleksandr Kolodkin");
3637
a.setApplicationVersion("1.1.0");
3738
a.setStyle(QStyleFactory::create("Fusion"));
3839

@@ -72,10 +73,10 @@ int main(int argc, char *argv[])
7273
QLatin1String("_"),
7374
ApplicationTranslationPath
7475
)) {
75-
qDebug() << "Application translator installed from " << ApplicationTranslationPath << ".";
7676
a.installTranslator(&myTranslator);
77+
qDebug() << "Application translator installed from " << ApplicationTranslationPath << ".";
7778
break;
78-
} {
79+
} else {
7980
qDebug() << "Application translator not found in " << ApplicationTranslationPath << ".";
8081
}
8182
}

0 commit comments

Comments
 (0)