Index: gui/src/chat/chattheme.cpp
===================================================================
--- gui/src/chat/chattheme.cpp	(revision 177)
+++ gui/src/chat/chattheme.cpp	(revision 192)
@@ -1,4 +1,4 @@
 #include "chattheme.h"
-
+#include <util/Path.h>
 static const char KEYWORD_CHAR = '%';
 
@@ -64,7 +64,9 @@
 QString ChatTheme::getThemePath()
 {
-	QString baseDir = "/SourceCache/qutecom-coip/debug/debug/QuteCom.app/Contents/Resources";
-#if defined(OS_WINDOWS)
+#if defined(WIN32)
+	QString baseDir = QString::fromStdString(Path::getApplicationDirPath());
 	baseDir = baseDir.replace("\\","/");
+#elif defined(OS_MACOSX)
+	QString baseDir = QString::fromStdString(Path::getApplicationResourcesDirPath());
 #endif
 	
