1 2 3 4 5 6 7 8 9 10 11
|
--- a/gui/map.cc
+++ b/gui/map.cc
@@ -90,7 +90,7 @@ Map::Map(QWidget* parent,
connect(mclicker, SIGNAL(logTime(QString)), this, SLOT(logTime(QString)));
#endif
- QString baseFile = QApplication::applicationDirPath() + "/gmapbase.html";
+ QString baseFile = "/usr/share/gpsbabel/gmapbase.html";
if (!QFile(baseFile).exists()) {
QMessageBox::critical(nullptr, appName,
tr("Missing \"gmapbase.html\" file. Check installation"));
|