summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:37:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 18:29:00 +0900
commit44e4d73df1c49c73cc1bc5dfd31805b232da79b4 (patch)
tree121e4d90b1cbbc0b1aa5aa9d1ee744d318a3e3f8
parent32344bad5869165780fb912fd85322bc06e9223c (diff)
downloadgtk3-tqt-engine-44e4d73df1c49c73cc1bc5dfd31805b232da79b4.tar.gz
gtk3-tqt-engine-44e4d73df1c49c73cc1bc5dfd31805b232da79b4.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--tdegtk/tdegtk-theme.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdegtk/tdegtk-theme.cpp b/tdegtk/tdegtk-theme.cpp
index 1ff5d98..60df928 100644
--- a/tdegtk/tdegtk-theme.cpp
+++ b/tdegtk/tdegtk-theme.cpp
@@ -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";