This should fix a bug resulting in a crash, when a IrcUser object was not destroyed...
[quassel.git] / src / common / main.cpp
index fc5c0f7..f562dd4 100644 (file)
@@ -18,6 +18,7 @@
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
+#include "global.h"
 #include "settings.h"
 #include <QString>
 #include <QTranslator>
@@ -85,7 +86,6 @@ int main(int argc, char **argv) {
   QCoreApplication::setApplicationName("Quassel IRC");
   QCoreApplication::setOrganizationName("Quassel IRC Development Team");
 
-  Global::quasselDir = QDir::homePath() + "/.quassel";
 #ifndef BUILD_QTUI
   Core::instance();  // create and init the core
 #endif