From 9cb509bb6944853b038b44dbdfeb21914e75796b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:37:12 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- kcm_gtk/kcmgtk.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kcm_gtk/kcmgtk.cpp') diff --git a/kcm_gtk/kcmgtk.cpp b/kcm_gtk/kcmgtk.cpp index 2d35870..d77b9c6 100644 --- a/kcm_gtk/kcmgtk.cpp +++ b/kcm_gtk/kcmgtk.cpp @@ -464,7 +464,7 @@ void KcmGtk::save() bool envFileDidNotExist = (!file.exists()); file.open(IO_ReadWrite); - stream.setDevice(TQT_TQIODEVICE(&file)); + stream.setDevice(&file); bool found = false; for (;;) { @@ -514,7 +514,7 @@ void KcmGtk::save() if (file.exists()) { file.open(IO_ReadOnly); - stream.setDevice(TQT_TQIODEVICE(&file)); + stream.setDevice(&file); TQString fileDataString = stream.read(); file.close(); @@ -522,7 +522,7 @@ void KcmGtk::save() fileDataString.replace("\n" + rcLine, "\n# (This is no longer needed from version 0.8 of the theme engine)\n# " + rcLine); file.open(IO_WriteOnly); - stream.setDevice(TQT_TQIODEVICE(&file)); + stream.setDevice(&file); stream << fileDataString; file.close(); } -- cgit v1.2.1