Abuse QSettings to find a sensible config file location
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 20 Jan 2009 01:08:30 +0000 (02:08 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 20 Jan 2009 21:07:48 +0000 (22:07 +0100)
commit894e9b60a395efdbacf8a2f8b0dc138464366191
tree41e7291203673035beba19505d1993d8632d548f
parentcd37744f0a2cd8ffe027892ddce5c7d6f4848ab0
Abuse QSettings to find a sensible config file location

Rather than trying to do The Right Thing [tm] ourselves, we now just instantiate
a QSettings object and retrieve its path to figure out where Quassel should store
its config data. Path is cached, so it's not too expensive.
src/common/quassel.cpp