Commit a4a17c34 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Move variable where it's useful

parent 04d5e8a5
......@@ -446,7 +446,6 @@ void GMXImportExportPluginInterface::doExport(QFile *fp, const KContacts::Addres
void GMXImportExportPluginInterface::importGMX()
{
KAddressBookImportExport::KAddressBookImportExportContactList contactList;
const QString fileName
= QFileDialog::getOpenFileName(parentWidget(), QString(), QDir::homePath(), GMX_FILESELECTION_STRING);
......@@ -673,6 +672,7 @@ void GMXImportExportPluginInterface::importGMX()
}
file.close();
KAddressBookImportExport::KAddressBookImportExportContactList contactList;
contactList.setAddressList(addresseeList);
ImportExportEngine *engine = new ImportExportEngine(this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment