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";