diff options
author | Rainer Keller <rainer.keller@nokia.com> | 2011-03-08 13:50:50 +0100 |
---|---|---|
committer | Rainer Keller <rainer.keller@nokia.com> | 2011-03-11 08:36:54 +0100 |
commit | cd3b0fcd57d1571a301eee1aebc20530b6830703 (patch) | |
tree | ccbd12cf17f7fd5f4ad76d9326e7ab782e62ad41 | |
parent | 53f99b995ad1e074a84df829f941fed8c0ba2808 (diff) |
Fix export of contacts to not existing file
Task-number: QTSIM-150
(cherry picked from commit 2d18e0253de6df1af757d0a70619cfd056abcb0a)
-rw-r--r-- | src/ui/contactsui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/contactsui.cpp b/src/ui/contactsui.cpp index 1354a85..c408253 100644 --- a/src/ui/contactsui.cpp +++ b/src/ui/contactsui.cpp @@ -97,7 +97,7 @@ void ContactsUi::importContacts() void ContactsUi::exportContacts() { - QString exportFile = QFileDialog::getOpenFileName(0, tr("Select vCard File to Export to"), ".", "*.vcf"); + QString exportFile = QFileDialog::getSaveFileName(0, tr("Select vCard File to Export to"), ".", "*.vcf"); if (exportFile.isNull()) return; |