Replaced various '#define' with actual strings - part 5

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/10/head
Michele Calgaro 12 months ago
parent 32344bad58
commit 44e4d73df1
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

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

Loading…
Cancel
Save