X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.cxx;h=625e7acad7d99ae890ee650615b4600f86032b51;hp=3b805d50a68db966cd4a3d7e922a562f2a9c8bc5;hb=2f0e025080dfcfa7c8f7395692502ab80d88ed65;hpb=67fac0f473ce6fe7c3d8e5d44d47e22c84eeacba diff --git a/src/gui/Mainwindow.cxx b/src/gui/Mainwindow.cxx index 3b805d5..625e7ac 100644 --- a/src/gui/Mainwindow.cxx +++ b/src/gui/Mainwindow.cxx @@ -27,12 +27,12 @@ Mainwindow::Mainwindow(InformationManager* mgr) saveAction = new QAction(tr("&Save"), this); exitAction = new QAction(tr("E&xit"), this); - connect(openAction, SIGNAL(triggered()), - this, SLOT(open())); - connect(saveAction, SIGNAL(triggered()), - this, SLOT(save())); - connect(exitAction, SIGNAL(triggered()), - qApp, SLOT(quit())); + connect(openAction, &QAction::triggered, + this, &Mainwindow::open); + connect(saveAction, &QAction::triggered, + this, &Mainwindow::save); + connect(exitAction, &QAction::triggered, + qApp, &QApplication::quit); fileMenu = menuBar()->addMenu(tr("&File")); fileMenu->addAction(openAction);