diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:37:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-03 18:30:38 +0900 |
commit | 9cb509bb6944853b038b44dbdfeb21914e75796b (patch) | |
tree | 003a6aa24d444484f51ae90253ea179890abf632 /kcm_gtk/kcmgtk.cpp | |
parent | 432b7dc374fe23674cda0b7403f0e84b8671ea27 (diff) | |
download | gtk-qt-engine-9cb509bb6944853b038b44dbdfeb21914e75796b.tar.gz gtk-qt-engine-9cb509bb6944853b038b44dbdfeb21914e75796b.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcm_gtk/kcmgtk.cpp')
-rw-r--r-- | kcm_gtk/kcmgtk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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(); } |