From dee8637bfc29e0097595fb93c7cd0f8461e9d166 Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Sat, 7 Feb 2026 15:42:20 +0100
Subject: Cleaning up desktop files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The desktop files listed a mimetype, but it doesn't seem to be tied
to any specific file types. Also, the filename is not passed in the
Exec arguments.

Lintian tag: desktop-mime-but-no-exec-code

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 tools/assistant/tqassistant.desktop        |  9 +++++----
 tools/designer/designer/tqdesigner.desktop |  9 +++++----
 tools/linguist/linguist/tqlinguist.desktop | 10 ++++++----
 tools/qtconfig/tqtconfig.desktop           | 10 +++++-----
 4 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/tools/assistant/tqassistant.desktop b/tools/assistant/tqassistant.desktop
index 270a34b46..4e00bfb6e 100644
--- a/tools/assistant/tqassistant.desktop
+++ b/tools/assistant/tqassistant.desktop
@@ -1,6 +1,4 @@
 [Desktop Entry]
-Encoding=UTF-8
-Exec=tqassistant
 Name=TQt3 Assistant
 Name[de]=TQt3 Assistent
 Name[bg]=TQt3 асистент
@@ -13,6 +11,7 @@ Name[pa]=TQt3 ਸਹਾਇਕ
 Name[sv]=TQt3-assistent
 Name[zh_CN]=TQt3 助手
 Name[zh_TW]=TQt3 助理
+
 GenericName=Document Browser
 GenericName[af]=Dokument Blaaier
 GenericName[az]=Sənəd Səyyahı
@@ -82,11 +81,13 @@ GenericName[xx]=xxDocument Browserxx
 GenericName[zh_CN]=文档浏览器
 GenericName[zh_TW]=文件閱讀器
 GenericName[zu]=Umcingi Woshicilelo
+
 Comment=TQt3 Helpcenter
 Comment[de]= TQt3 Hilfezentrum
 Comment[fr]=Centre d'aide de TQt3
-MimeType=application/x-assistant;
+
+Type=Application
+Exec=tqassistant
 Icon=tqassistant.png
 Terminal=false
-Type=Application
 Categories=Qt;Development;Documentation;
diff --git a/tools/designer/designer/tqdesigner.desktop b/tools/designer/designer/tqdesigner.desktop
index 41e10ca3f..951507d6e 100644
--- a/tools/designer/designer/tqdesigner.desktop
+++ b/tools/designer/designer/tqdesigner.desktop
@@ -1,6 +1,4 @@
 [Desktop Entry]
-Encoding=UTF-8
-Exec=tqdesigner
 Name=TQt3 Designer
 Name[bg]=TQt3 Дизайнер
 Name[br]=Ergrafer TQt3
@@ -27,6 +25,7 @@ Name[ta]=TQt3 À¨¼ôÀ¡Ç÷
 Name[uk]=Дизайнер TQt3
 Name[zh_CN.GB2312]=TQt3 设计者
 Name[zh_TW.Big5]=TQt3 設計器
+
 GenericName=Interface Designer
 GenericName[af]=Koppelvlak Ontwerper
 GenericName[ar]=أداة لتصميم واجهة البرامج
@@ -95,6 +94,7 @@ GenericName[xx]=xxInterface Designerxx
 GenericName[zh_CN]=界面设计器
 GenericName[zh_TW]=界面設計師
 GenericName[zu]=Umakhi Womxhumanisi
+
 Comment=TQt3 interface designer
 Comment[az]=TQt3 axtar üz dizayn proqramı
 Comment[bg]=TQt3 interface дизайнер
@@ -138,8 +138,9 @@ Comment[tr]=TQt3 arayüz tasarım programı
 Comment[uk]=Редактор інтерфейсу для TQt3
 Comment[zh_CN.GB2312]=TQt3 界面设计程序
 Comment[zh_TW.Big5]=TQt3 介面編輯器
-MimeType=application/x-designer;
+
+Type=Application
+Exec=tqdesigner
 Icon=tqdesigner
 Terminal=false
-Type=Application
 Categories=Qt;Development;
diff --git a/tools/linguist/linguist/tqlinguist.desktop b/tools/linguist/linguist/tqlinguist.desktop
index 2bc0a3a4b..a173ee9ec 100644
--- a/tools/linguist/linguist/tqlinguist.desktop
+++ b/tools/linguist/linguist/tqlinguist.desktop
@@ -1,5 +1,4 @@
 [Desktop Entry]
-Exec=tqlinguist
 Name=TQt3 Linguist
 Name[de]=TQt3-Linguist
 Name[eo]=TQt3-Lingvisto
@@ -14,6 +13,7 @@ Name[nb]=TQt3-Linguist
 Name[pa]=TQt3 ਅਨੁਵਾਦਕ
 Name[pl]=Lingwista TQt3
 Name[zh_TW]=TQt3 語言專家
+
 GenericName=Translation Tool
 GenericName[af]=Vertaling Program
 GenericName[ar]=أداة للترجمة
@@ -82,6 +82,7 @@ GenericName[xx]=xxTranslation Toolxx
 GenericName[zh_CN]=翻译工具
 GenericName[zh_TW]=翻譯工具
 GenericName[zu]=Ithuluzi Lokuguqulela
+
 Comment=Tool for translating message catalogues of TQt3 based programs
 Comment[da]=Redskab til at oversætte TQt3 baserede programmer
 Comment[de]=Dienstprogramm zur Übersetzung von Programmen, die auf TQt3 basieren
@@ -95,8 +96,9 @@ Comment[lv]=Rīks ziņojumu katalogu tulkošanai uz TQt3 bāzētās programmās
 Comment[pt]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3
 Comment[pt_BR]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3
 Comment[sv]=Verktyg för att översätta meddelandekataloger från TQt3-baserade program
-MimeType=application/x-linguist;
-Terminal=false
-Icon=tqlinguist
+
 Type=Application
+Exec=tqlinguist
+Icon=tqlinguist
+Terminal=false
 Categories=Qt;Development;Translation;
diff --git a/tools/qtconfig/tqtconfig.desktop b/tools/qtconfig/tqtconfig.desktop
index ac10ca52b..ee9692c81 100644
--- a/tools/qtconfig/tqtconfig.desktop
+++ b/tools/qtconfig/tqtconfig.desktop
@@ -1,6 +1,4 @@
 [Desktop Entry]
-Encoding=UTF-8
-Exec=tqtconfig
 Name=TQt3 Configuration
 Name[de]=TQt3 Konfiguration
 Name[bg]=Настройки на TQt3
@@ -23,11 +21,13 @@ Name[sv]=TQt3-inställningar
 Name[uk]=Параметри TQt3
 Name[zh_CN]=TQt3 设置
 Name[zh_TW]=TQt3 設定
+
 Comment=A graphical configuration tool for programs using TQt 3
 Comment[de]=Ein grafisches Konfigurationstool für TQt3-Programme
 Comment[fr]=Un outil de configuration graphique pour les programmes utilisant TQt3
-MimeType=application/x-qtconfig;
-Terminal=false
-Icon=tqtconfig
+
 Type=Application
+Exec=tqtconfig
+Icon=tqtconfig
+Terminal=false
 Categories=Qt;Settings;
-- 
cgit v1.2.3

