summarylogtreecommitdiffstats
path: root/01_qt_datalocation.patch
blob: 32409ba76541e498e6b834a90ae083e03ab00413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/qt/sc_window.cpp b/qt/sc_window.cpp
index 8a8b826ae2..5e8fa002c1 100644
--- a/qt/sc_window.cpp
+++ b/qt/sc_window.cpp
@@ -62,6 +62,7 @@ QStringList SC_PATHS::getDataPaths()
 #else
   QStringList shared_paths;
   shared_paths.append( QCoreApplication::applicationDirPath() );
+  shared_paths.append("/usr/share/simulationcraft");
   for( const auto& location : QStandardPaths::standardLocations( QStandardPaths::AppDataLocation ))
   {
     QDir dir( location );