From 38ce1f62658a540d113573834fe46ddc572e99b3 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 16 Jan 2019 17:45:44 +0200 Subject: [PATCH] Fix build on Mac OS X. --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index fc66310de..ab82d0aa7 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -250,11 +250,11 @@ MainWindow::MainWindow(QWidget *parent) QAction *actionNewPattern = menu->addAction(tr("New pattern")); actionNewPattern->setMenuRole(QAction::NoRole); - connect(actionNewPattern, &QAction::triggered, this, &MainWindow::New); + connect(actionNewPattern, &QAction::triggered, this, &MainWindow::on_actionNew_triggered); QAction *actionOpenPattern = menu->addAction(tr("Open pattern")); actionOpenPattern->setMenuRole(QAction::NoRole); - connect(actionOpenPattern, &QAction::triggered, this, &MainWindow::Open); + connect(actionOpenPattern, &QAction::triggered, this, &MainWindow::on_actionOpen_triggered); QAction *actionOpenTape = menu->addAction(tr("Create/Edit measurements")); actionOpenTape->setMenuRole(QAction::NoRole);