mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-10-11 14:06:25 +00:00
Get rid of GetLauncherFilename
Use QGuiApplication::desktopFileName directly instead
This commit is contained in:
@@ -873,7 +873,8 @@ void MainWindow::updateIconCounters() {
|
||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||
if (UseUnityCounter()) {
|
||||
const auto launcherUrl = Glib::ustring(
|
||||
"application://" + GetLauncherFilename().toStdString());
|
||||
"application://"
|
||||
+ QGuiApplication::desktopFileName().toStdString());
|
||||
const auto counterSlice = std::min(counter, 9999);
|
||||
std::map<Glib::ustring, Glib::VariantBase> dbusUnityProperties;
|
||||
|
||||
|
Reference in New Issue
Block a user