Branch: master

1aab22d8 2014-10-22 14:24:15 Timothy Pearson
Fix exec icon location and bring it into XDG compliance
M src/fetch/fetchmanager.cpp
M src/reportdialog.cpp
diff --git a/src/fetch/fetchmanager.cpp b/src/fetch/fetchmanager.cpp
index f51b51a..3903642 100644
--- a/src/fetch/fetchmanager.cpp
+++ b/src/fetch/fetchmanager.cpp
@@ -634,7 +634,7 @@
     case Entrez:
       name = favIcon("http://www.ncbi.nlm.nih.gov"); break;
     case ExecExternal:
-      name = TQString::fromLatin1("exec"); break;
+      name = TQString::fromLatin1("application-x-executable"); break;
     case Yahoo:
       name = favIcon("http://yahoo.com"); break;
     case AnimeNfo:
diff --git a/src/reportdialog.cpp b/src/reportdialog.cpp
index 6f6533a..c073802 100644
--- a/src/reportdialog.cpp
+++ b/src/reportdialog.cpp
@@ -80,7 +80,7 @@
   hlay->addWidget(m_templateCombo);
   l->setBuddy(m_templateCombo);
 
-  KPushButton* pb1 = new KPushButton(SmallIconSet(TQString::fromLatin1("exec")), i18n("&Generate"), mainWidget);
+  KPushButton* pb1 = new KPushButton(SmallIconSet(TQString::fromLatin1("application-x-executable")), i18n("&Generate"), mainWidget);
   hlay->addWidget(pb1);
   connect(pb1, TQT_SIGNAL(clicked()), TQT_SLOT(slotGenerate()));