summaryrefslogtreecommitdiff
path: root/libopie2/opieui
Side-by-side diff
Diffstat (limited to 'libopie2/opieui') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/fileselector/ofiledialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libopie2/opieui/fileselector/ofiledialog.cpp b/libopie2/opieui/fileselector/ofiledialog.cpp
index f2a0c7b..2d38961 100644
--- a/libopie2/opieui/fileselector/ofiledialog.cpp
+++ b/libopie2/opieui/fileselector/ofiledialog.cpp
@@ -196,8 +196,7 @@ QString OFileDialog::getSaveFileName(int selector,
* if the user just clicked on it
* #1522
*/
- dlg.disconnect( dlg.file, SIGNAL(fileSelected(const QString&)) );
- dlg.disconnect( dlg.file, SIGNAL(ok()) );
+ dlg.file->disconnect( &dlg );
if( QPEApplication::execDialog(&dlg) )
{