Skip to content

Commit 802c2e0

Browse files
committed
linux: fix app name
1 parent f547cc1 commit 802c2e0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

linux/Main.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ApplicationWindow {
88
visible: !airPodsTrayApp.hideOnStart
99
width: 400
1010
height: 300
11-
title: "Librepods"
11+
title: "LibrePods"
1212
objectName: "mainWindowObject"
1313

1414
onClosing: mainWindow.visible = false

linux/logger.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#include <QDebug>
44
#include <QLoggingCategory>
55

6-
Q_DECLARE_LOGGING_CATEGORY(Librepods)
6+
Q_DECLARE_LOGGING_CATEGORY(librepods)
77

8-
#define LOG_INFO(msg) qCInfo(Librepods) << "\033[32m" << msg << "\033[0m"
9-
#define LOG_WARN(msg) qCWarning(Librepods) << "\033[33m" << msg << "\033[0m"
10-
#define LOG_ERROR(msg) qCCritical(Librepods) << "\033[31m" << msg << "\033[0m"
11-
#define LOG_DEBUG(msg) qCDebug(Librepods) << "\033[34m" << msg << "\033[0m"
8+
#define LOG_INFO(msg) qCInfo(librepods) << "\033[32m" << msg << "\033[0m"
9+
#define LOG_WARN(msg) qCWarning(librepods) << "\033[33m" << msg << "\033[0m"
10+
#define LOG_ERROR(msg) qCCritical(librepods) << "\033[31m" << msg << "\033[0m"
11+
#define LOG_DEBUG(msg) qCDebug(librepods) << "\033[34m" << msg << "\033[0m"

linux/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
using namespace AirpodsTrayApp::Enums;
3131

32-
Q_LOGGING_CATEGORY(Librepods, "Librepods")
32+
Q_LOGGING_CATEGORY(librepods, "librepods")
3333

3434
class AirPodsTrayApp : public QObject {
3535
Q_OBJECT
@@ -50,8 +50,8 @@ class AirPodsTrayApp : public QObject {
5050
, m_deviceInfo(new DeviceInfo(this)), m_bleManager(new BleManager(this))
5151
, m_systemSleepMonitor(new SystemSleepMonitor(this))
5252
{
53-
QLoggingCategory::setFilterRules(QString("Librepods.debug=%1").arg(debugMode ? "true" : "false"));
54-
LOG_INFO("Initializing AirPodsTrayApp");
53+
QLoggingCategory::setFilterRules(QString("librepods.debug=%1").arg(debugMode ? "true" : "false"));
54+
LOG_INFO("Initializing LibrePods");
5555

5656
// Initialize tray icon and connect signals
5757
trayManager = new TrayIconManager(this);

0 commit comments

Comments
 (0)