summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:37:18 +0900
committerMichele Calgaro <[email protected]>2023-12-04 13:55:59 +0900
commit9d21ebe85e2d903651ca08b0976ded9380b6403f (patch)
tree121e4d90b1cbbc0b1aa5aa9d1ee744d318a3e3f8
parent180b63681d118d7169644ea8538f4f3d9be03901 (diff)
downloadgtk3-tqt-engine-9d21ebe85e2d903651ca08b0976ded9380b6403f.tar.gz
gtk3-tqt-engine-9d21ebe85e2d903651ca08b0976ded9380b6403f.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 44e4d73df1c49c73cc1bc5dfd31805b232da79b4)
-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";