|
|
|
@ -751,7 +751,7 @@ void writeGtkThemeControlFile(int forceRecreate) {
|
|
|
|
|
|
|
|
|
|
if (!forceRecreate && themeFile.exists()) {
|
|
|
|
|
themeFile.open(IO_ReadOnly);
|
|
|
|
|
stream.setDevice(TQT_TQIODEVICE(&themeFile));
|
|
|
|
|
stream.setDevice(&themeFile);
|
|
|
|
|
|
|
|
|
|
if (stream.readLine() == "/* " + iconTheme + ", " + tqApp->style().name() + ", " + RC_CACHE_VERSION + ", " + __DATE__ + ", " + __TIME__ + " */") {
|
|
|
|
|
// This cache matches the current icon theme and style
|
|
|
|
@ -771,7 +771,7 @@ void writeGtkThemeControlFile(int forceRecreate) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
themeFile.open(IO_WriteOnly | IO_Truncate);
|
|
|
|
|
stream.setDevice(TQT_TQIODEVICE(&themeFile));
|
|
|
|
|
stream.setDevice(&themeFile);
|
|
|
|
|
|
|
|
|
|
stream << "/* " << iconTheme << ", " << tqApp->style().name() << ", " << RC_CACHE_VERSION << ", " << __DATE__ << ", " << __TIME__ << " */\n\n";
|
|
|
|
|
stream << "/* This file was generated by the Gtk TQt Theme Engine */\n";
|
|
|
|
|