CaptureMoment
0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
desktop_platform_linux.cpp
Go to the documentation of this file.
1
8
#include "
platform/desktop_platform.h
"
9
#include <QGuiApplication>
10
#include <QIcon>
11
12
namespace
CaptureMoment::UI::Platform
{
13
14
void
applyApplicationSettings
()
15
{
16
// Linux don't set the window icon automatically, so we need to set it explicitly.
17
// This is a common issue on Linux platforms where the application icon may not be displayed correctly in the taskbar or window manager.
18
QGuiApplication::setWindowIcon(QIcon(QStringLiteral(
":/icons/favicon.png"
)));
19
}
20
21
}
// namespace CaptureMoment::UI::Platform
desktop_platform.h
Platform-specific application settings (Linux / macOS / Windows)
CaptureMoment::UI::Platform
Definition
desktop_platform_linux.cpp:12
CaptureMoment::UI::Platform::applyApplicationSettings
void applyApplicationSettings()
Applies Qt settings specific to the host platform.
Definition
desktop_platform_linux.cpp:14
CaptureMoment — footer