From 236b93c7266b84269b4be5841d8575b5f3432065 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:35:29 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- src/modules/reguser/dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/reguser/dialog.cpp') diff --git a/src/modules/reguser/dialog.cpp b/src/modules/reguser/dialog.cpp index b6741470..f4865263 100644 --- a/src/modules/reguser/dialog.cpp +++ b/src/modules/reguser/dialog.cpp @@ -734,7 +734,7 @@ void KviRegisteredUsersDialog::exportClicked() if(!f.save(1))goto write_error; TQImageIO io; io.setImage(av->pixmap()->convertToImage()); - io.setIODevice(TQT_TQIODEVICE(&f)); + io.setIODevice(&f); io.setFormat("PNG"); if(!io.write())goto write_error; } else { @@ -832,7 +832,7 @@ void KviRegisteredUsersDialog::importClicked() TQImage img; TQImageIO io; io.setImage(img); - io.setIODevice(TQT_TQIODEVICE(&f)); + io.setIODevice(&f); io.setFormat("PNG"); if(!io.read())goto read_error; -- cgit v1.2.1