We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ea006 commit fa570c2Copy full SHA for fa570c2
1 file changed
src/MainWindow.cpp
@@ -48,9 +48,8 @@
48
#include <QMessageBox>
49
#include <QWhatsThis>
50
51
-///TODO: --- REMOVE BEFORE RELEASE ---
52
-#define DISABLE_DIAGNOSTICS
53
-///TODO: -----------------------------
+#define STR_(x) #x
+#define STR(x) STR_(x)
54
55
using namespace std;
56
@@ -66,6 +65,12 @@ MainWindow::MainWindow(QString exepath,
66
65
// Prepare logger
67
{
68
Log::clear();
+#ifdef USE_PULSEAUDIO
69
+ QString flavor = " (Pulseaudio flavor)";
70
+#else
71
+ QString flavor = " (Pipewire flavor)";
72
+#endif
73
+ Log::information("Application version: " + QString(STR(APP_VERSION)) + flavor);
74
}
75
76
// Check if another instance is already running and switch to it if that's the case
0 commit comments