summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 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);