diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:37:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 18:29:00 +0900 |
commit | 44e4d73df1c49c73cc1bc5dfd31805b232da79b4 (patch) | |
tree | 121e4d90b1cbbc0b1aa5aa9d1ee744d318a3e3f8 | |
parent | 32344bad5869165780fb912fd85322bc06e9223c (diff) | |
download | gtk3-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.cpp | 4 |
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"; |