summaryrefslogtreecommitdiffstats
path: root/src/modules/dialog
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/dialog')
-rw-r--r--src/modules/dialog/libkvidialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/dialog/libkvidialog.cpp b/src/modules/dialog/libkvidialog.cpp
index d6ef068c..fdc61a0c 100644
--- a/src/modules/dialog/libkvidialog.cpp
+++ b/src/modules/dialog/libkvidialog.cpp
@@ -526,7 +526,7 @@ void KviKvsCallbackFileDialog::done(int code)
// ...so skip out of this call stack and ask KviApp to destroy us just
// when the control returns to the main loop.
// If the module is unloaded then , KviApp will notice it and will NOT delete the dialog
- g_pApp->collectGarbage(TQT_TQOBJECT(this));
+ g_pApp->collectGarbage(this);
// calling dialog.unload here WILL lead to a sigsegv (this is SURE
// with a lot of qt versions that have the ugly file dialog "accept before this reference" bug)
@@ -657,7 +657,7 @@ void KviKvsCallbackImageDialog::done(int code)
// ...so skip out of this call stack and ask KviApp to destroy us just
// when the control returns to the main loop.
// If the module is unloaded then , KviApp will notice it and will NOT delete the dialog
- g_pApp->collectGarbage(TQT_TQOBJECT(this));
+ g_pApp->collectGarbage(this);
// calling dialog.unload here WILL lead to a sigsegv (this is SURE
// with a lot of qt versions that have the ugly file dialog "accept before this reference" bug)