diff options
author | Thiago Macieira <thiago@macieira.org> | 2014-06-15 13:45:24 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-18 04:44:59 -0700 |
commit | ee11e1540e888467e95ee4fc930f276ed7804c4e (patch) | |
tree | 2d29f058d5d71007c4ba10f220cf0eec3ffb97a6 /qt-ui | |
parent | 2fcf8411affe7a24ec3a352c4109a9edea1cf006 (diff) | |
download | subsurface-ee11e1540e888467e95ee4fc930f276ed7804c4e.tar.gz |
Don't use std::string in our code
This also explicitly states the encoding. It's just a file name and it's
always ASCII for us, but it's clear now.
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/divelogexportdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelogexportdialog.cpp b/qt-ui/divelogexportdialog.cpp index b4bac0fa6..829765424 100644 --- a/qt-ui/divelogexportdialog.cpp +++ b/qt-ui/divelogexportdialog.cpp @@ -180,6 +180,6 @@ void DiveLogExportDialog::on_buttonBox_accepted() settings.endGroup(); // the non XSLT exports are called directly above, the XSLT based ons are called here if (!stylesheet.isEmpty()) - export_dives_xslt(filename.toUtf8(), ui->exportSelected->isChecked(), stylesheet.toStdString().c_str()); + export_dives_xslt(filename.toUtf8(), ui->exportSelected->isChecked(), stylesheet.toUtf8()); } } |