From 69d318d86a08c362e5ce66f12106689c58126be9 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 06 Feb 2005 11:41:25 +0000 Subject: Use the right parameters for the syntax. Disconnect all slots in OFileDialog from the OFileSelector --- 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) ) { -- cgit v0.9.0.2