mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-10 19:52:24 +00:00
linux: fix app name
This commit is contained in:
@@ -8,7 +8,7 @@ ApplicationWindow {
|
|||||||
visible: !airPodsTrayApp.hideOnStart
|
visible: !airPodsTrayApp.hideOnStart
|
||||||
width: 400
|
width: 400
|
||||||
height: 300
|
height: 300
|
||||||
title: "Librepods"
|
title: "LibrePods"
|
||||||
objectName: "mainWindowObject"
|
objectName: "mainWindowObject"
|
||||||
|
|
||||||
onClosing: mainWindow.visible = false
|
onClosing: mainWindow.visible = false
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QLoggingCategory>
|
#include <QLoggingCategory>
|
||||||
|
|
||||||
Q_DECLARE_LOGGING_CATEGORY(Librepods)
|
Q_DECLARE_LOGGING_CATEGORY(librepods)
|
||||||
|
|
||||||
#define LOG_INFO(msg) qCInfo(Librepods) << "\033[32m" << msg << "\033[0m"
|
#define LOG_INFO(msg) qCInfo(librepods) << "\033[32m" << msg << "\033[0m"
|
||||||
#define LOG_WARN(msg) qCWarning(Librepods) << "\033[33m" << msg << "\033[0m"
|
#define LOG_WARN(msg) qCWarning(librepods) << "\033[33m" << msg << "\033[0m"
|
||||||
#define LOG_ERROR(msg) qCCritical(Librepods) << "\033[31m" << msg << "\033[0m"
|
#define LOG_ERROR(msg) qCCritical(librepods) << "\033[31m" << msg << "\033[0m"
|
||||||
#define LOG_DEBUG(msg) qCDebug(Librepods) << "\033[34m" << msg << "\033[0m"
|
#define LOG_DEBUG(msg) qCDebug(librepods) << "\033[34m" << msg << "\033[0m"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
using namespace AirpodsTrayApp::Enums;
|
using namespace AirpodsTrayApp::Enums;
|
||||||
|
|
||||||
Q_LOGGING_CATEGORY(Librepods, "Librepods")
|
Q_LOGGING_CATEGORY(librepods, "librepods")
|
||||||
|
|
||||||
class AirPodsTrayApp : public QObject {
|
class AirPodsTrayApp : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@@ -50,8 +50,8 @@ public:
|
|||||||
, m_deviceInfo(new DeviceInfo(this)), m_bleManager(new BleManager(this))
|
, m_deviceInfo(new DeviceInfo(this)), m_bleManager(new BleManager(this))
|
||||||
, m_systemSleepMonitor(new SystemSleepMonitor(this))
|
, m_systemSleepMonitor(new SystemSleepMonitor(this))
|
||||||
{
|
{
|
||||||
QLoggingCategory::setFilterRules(QString("Librepods.debug=%1").arg(debugMode ? "true" : "false"));
|
QLoggingCategory::setFilterRules(QString("librepods.debug=%1").arg(debugMode ? "true" : "false"));
|
||||||
LOG_INFO("Initializing AirPodsTrayApp");
|
LOG_INFO("Initializing LibrePods");
|
||||||
|
|
||||||
// Initialize tray icon and connect signals
|
// Initialize tray icon and connect signals
|
||||||
trayManager = new TrayIconManager(this);
|
trayManager = new TrayIconManager(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user