aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactionview.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-02-15 14:47:08 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2012-02-15 17:22:00 +0100
commit303a47c09592c33aa84e2264e69643ef2570fa76 (patch)
treec24139670ca4af1fda9355dc7239cce4a0dfa852 /src/qt/transactionview.cpp
parent1df182ff886817cc8b85990aff9b0e1102c97be7 (diff)
fix default suffixes in save dialog in GNOME, make it more clear that PNG is used (solves #833)
Diffstat (limited to 'src/qt/transactionview.cpp')
-rw-r--r--src/qt/transactionview.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp
index 4c357d1379..eaed48bfdf 100644
--- a/src/qt/transactionview.cpp
+++ b/src/qt/transactionview.cpp
@@ -21,7 +21,6 @@
#include <QTableView>
#include <QHeaderView>
#include <QPushButton>
-#include <QFileDialog>
#include <QMessageBox>
#include <QPoint>
#include <QMenu>
@@ -264,10 +263,9 @@ void TransactionView::changedAmount(const QString &amount)
void TransactionView::exportClicked()
{
// CSV is currently the only supported format
- QString filename = QFileDialog::getSaveFileName(
+ QString filename = GUIUtil::getSaveFileName(
this,
- tr("Export Transaction Data"),
- QDir::currentPath(),
+ tr("Export Transaction Data"), QString(),
tr("Comma separated file (*.csv)"));
if (filename.isNull()) return;