diff options
-rw-r--r-- | src/mainwindow.cpp | 4 | ||||
-rw-r--r-- | src/mainwindow.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 863af82..85a526d 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -219,7 +219,7 @@ MainWindow::setupActions() m_actionExportPNG = new QAction(this); m_actionExportPNG->setText(tr("E&xport...")); - connect(m_actionExportPNG, SIGNAL(triggered(bool)), SLOT(exportPNG())); + connect(m_actionExportPNG, SIGNAL(triggered(bool)), SLOT(exportDocument())); d->printAction = new QAction(this); d->printAction->setText(tr("&Print...")); @@ -488,7 +488,7 @@ MainWindow::saveAs() } void -MainWindow::exportPNG() +MainWindow::exportDocument() { QString selectedFilter; QString fileName = QFileDialog::getSaveFileName(this, QString(), QString(), d->exporters.filters(), &selectedFilter); diff --git a/src/mainwindow.h b/src/mainwindow.h index ace4ea6..4f059cc 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -52,7 +52,7 @@ public slots: bool save(); bool maybeSave(); bool saveAs(); - void exportPNG(); + void exportDocument(); void print(); void setViewScale(const QString &scale); void about(); |