diff --git a/desktop-widgets/divelogexportdialog.cpp b/desktop-widgets/divelogexportdialog.cpp index 1381f2767..befe03bdd 100644 --- a/desktop-widgets/divelogexportdialog.cpp +++ b/desktop-widgets/divelogexportdialog.cpp @@ -246,7 +246,7 @@ void DiveLogExportDialog::on_buttonBox_accepted() qPrefDisplay::set_lastDir(fileInfo.dir().path()); // the non XSLT exports are called directly above, the XSLT based ons are called here if (!stylesheet.isEmpty()) { - QFuture future = exportUsingStyleSheet(filename, ui->exportSelected->isChecked(), + QFuture future = exportUsingStyleSheet(filename, ui->exportSelected->isChecked(), ui->CSVUnits_2->currentIndex(), stylesheet.toUtf8(), ui->anonymize->isChecked()); MainWindow::instance()->getNotificationWidget()->showNotification(tr("Please wait, exporting..."), KMessageWidget::Information); MainWindow::instance()->getNotificationWidget()->setFuture(future); diff --git a/desktop-widgets/notificationwidget.cpp b/desktop-widgets/notificationwidget.cpp index 7c156ee5c..878685955 100644 --- a/desktop-widgets/notificationwidget.cpp +++ b/desktop-widgets/notificationwidget.cpp @@ -31,7 +31,7 @@ QString NotificationWidget::getNotificationText() return text(); } -void NotificationWidget::setFuture(const QFuture &future) +void NotificationWidget::setFuture(const QFuture &future) { future_watcher.setFuture(future); } diff --git a/desktop-widgets/notificationwidget.h b/desktop-widgets/notificationwidget.h index 93fc62605..82dbd5df1 100644 --- a/desktop-widgets/notificationwidget.h +++ b/desktop-widgets/notificationwidget.h @@ -16,7 +16,7 @@ class NotificationWidget : public KMessageWidget { public: explicit NotificationWidget(QWidget *parent = 0); - void setFuture(const QFuture &future); + void setFuture(const QFuture &future); void showNotification(QString message, KMessageWidget::MessageType type); void hideNotification(); QString getNotificationText(); @@ -25,7 +25,7 @@ public slots: void showError(QString message); private: - QFutureWatcher future_watcher; + QFutureWatcher future_watcher; private slots: