mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-10-27 15:07:24 +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