libqtxdg: fix hardcoded prefix in xdgdirs_termux_prefix.patch

This commit is contained in:
Leonid Pliushch 2021-05-18 13:27:08 +03:00 committed by Yaksh Bariya
parent be71daf83e
commit d88bbde94b
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
QLatin1String("Videos") QLatin1String("Videos")
}; };
+static const char* TERMUX_PREFIX = "/data/data/com.termux/files/usr"; +static const char* TERMUX_PREFIX = "@TERMUX_PREFIX@";
+ +
// Helper functions prototypes // Helper functions prototypes
void fixBashShortcuts(QString &s); void fixBashShortcuts(QString &s);