Extend XDG_DATA_DIRS to include Quassel-specific directories
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 25 Oct 2014 14:01:30 +0000 (16:01 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 25 Oct 2014 21:16:33 +0000 (23:16 +0200)
commite1b19bda89f82f41ed99baa92ac962e48548eae1
tree5a5472fe878ba976a40c7f8dc2b06891a1f97e6b
parent22024f7b0dd6807723bfc0dc2d96be25c40869cc
Extend XDG_DATA_DIRS to include Quassel-specific directories

XDG_DATA_DIRS is used for example by Qt to find icon themes and other
application data. In order to avoid having to hack our own locations into
various places, we extend the variable at runtime to include them instead.

This is only relevant if KDE integration is not enabled; otherwise KDE will
specify a list of data dirs (this means that Quassel needs to be installed
properly for everything to work as expected if KDE integration is enabled).
src/common/quassel.cpp
src/common/quassel.h