diff options
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(); } |