From 44e4d73df1c49c73cc1bc5dfd31805b232da79b4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:37:18 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- tdegtk/tdegtk-theme.cpp | 4 ++-- 1 file 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"; -- cgit v1.2.1