|
|
|
@ -23,6 +23,8 @@
|
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
|
#include <tdeconfig.h>
|
|
|
|
|
#include <kglobal.h>
|
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
|
|
|
|
|
|
#undef signals
|
|
|
|
|
#include <gdk/gdkx.h>
|
|
|
|
@ -2022,7 +2024,7 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
|
|
|
|
|
// In order to speed it up, we can store the results in a file, along with the name of icon
|
|
|
|
|
// theme and style. This file can then be regenerated when the icon theme or style change.
|
|
|
|
|
|
|
|
|
|
TQString cacheFilePath = TQDir::homeDirPath() + "/.gtk_qt_engine_rc";
|
|
|
|
|
TQString cacheFilePath = TDEGlobal::dirs()->saveLocation("cache")+"/gtk_qt_engine_rc";
|
|
|
|
|
TQFile cacheFile(cacheFilePath);
|
|
|
|
|
TQTextStream stream;
|
|
|
|
|
|
|
|
|
|