From: Manuel Nickschas Date: Sun, 8 Feb 2015 18:52:55 +0000 (+0100) Subject: Improve data path handling X-Git-Tag: 0.12-beta1~22 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=a8841ac148d14a676d1beb93d3c43a7e8473f72b;hp=a8841ac148d14a676d1beb93d3c43a7e8473f72b Improve data path handling Originally I intended to switch to QStandardPaths for Qt5, however this would also require migration code. We'll postpone this until we can get rid of Qt4 and KDE4, so there are less combinations to handle properly. Instead, this commit improves the handling of data paths in general by fixing search order, supporting XDG_DATA_HOME, and sanitizing the paths properly. Also KDE builds now check their own install prefix, in case Quassel is installed in a non-standard location. ---