Merge pull request #120 from sophiekovalevsky/move-message-pattern

main/app: move message pattern to main
This commit is contained in:
jankae 2022-06-23 00:58:17 +02:00 committed by GitHub
commit 7079586aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -75,8 +75,6 @@ AppWindow::AppWindow(QWidget *parent)
, appVersion(APP_VERSION)
, appGitHash(APP_GIT_HASH)
{
qSetMessagePattern("%{time process}: [%{type}] %{message}");
// qDebug().setVerbosity(0);
qDebug() << "Application start";

View File

@ -17,6 +17,9 @@ static void tryExitGracefully(int s) {
#endif
int main(int argc, char *argv[]) {
qSetMessagePattern("%{time process}: [%{type}] %{message}");
app = new QApplication(argc, argv);
QCoreApplication::setOrganizationName("LibreVNA");
QCoreApplication::setApplicationName("LibreVNA-GUI");