summaryrefslogtreecommitdiffstats
path: root/src/modules/reguser/dialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:35:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 14:27:53 +0900
commit236b93c7266b84269b4be5841d8575b5f3432065 (patch)
tree4e83dba5db2ed3712744b082c95db916807a494c /src/modules/reguser/dialog.cpp
parentb32a017aa624eb96fb22ca7458ad74b99d12c3b5 (diff)
downloadkvirc-236b93c7266b84269b4be5841d8575b5f3432065.tar.gz
kvirc-236b93c7266b84269b4be5841d8575b5f3432065.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/reguser/dialog.cpp')
-rw-r--r--src/modules/reguser/dialog.cpp4
1 files changed, 2 insertions, 2 deletions
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;