mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Fix Platform::ApplicationIconName for snap
Looks like it broke through rebases
This commit is contained in:
parent
3f6f96cfb4
commit
2660439160
1 changed files with 2 additions and 2 deletions
|
@ -779,9 +779,9 @@ QImage DefaultApplicationIcon() {
|
|||
}
|
||||
|
||||
QString ApplicationIconName() {
|
||||
static const auto Result = (KSandbox::isSnap()
|
||||
static const auto Result = KSandbox::isSnap()
|
||||
? u"snap.%1."_q.arg(qEnvironmentVariable("SNAP_INSTANCE_NAME"))
|
||||
: QString()) + QGuiApplication::desktopFileName().remove(
|
||||
: QGuiApplication::desktopFileName().remove(
|
||||
u"._"_q + Core::Launcher::Instance().instanceHash());
|
||||
return Result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue