diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index e0ab421ef..9ce5824bb 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -81,8 +81,8 @@ MainWindow::MainWindow() : connect(mUI.mResults, SIGNAL(GotResults()), this, SLOT(ResultsAdded())); connect(mUI.mMenuView, SIGNAL(aboutToShow()), this, SLOT(AboutToShowViewMenu())); - connect(mUI.mActionNewProjectFile, SIGNAL(triggered()), this, SLOT(NewProjectFileDialog())); - connect(mUI.mActionOpenProjectFile, SIGNAL(triggered()), this, SLOT(ShowProjectFileDialog())); + connect(mUI.mActionNewProjectFile, SIGNAL(triggered()), this, SLOT(NewProjectFile())); + connect(mUI.mActionOpenProjectFile, SIGNAL(triggered()), this, SLOT(OpenProjectFile())); #ifdef WIN32 connect(mUI.mActionHelpContents, SIGNAL(triggered()), this, SLOT(OpenHelpContents())); @@ -685,7 +685,7 @@ void MainWindow::OpenHtmlHelpContents() #endif // WIN32 } -void MainWindow::ShowProjectFileDialog() +void MainWindow::OpenProjectFile() { const QString filter = tr("Project files (*.cppcheck);;All files(*.*)"); QString filepath = QFileDialog::getOpenFileName(this, @@ -701,7 +701,7 @@ void MainWindow::ShowProjectFileDialog() } } -void MainWindow::NewProjectFileDialog() +void MainWindow::NewProjectFile() { const QString filter = tr("Project files (*.cppcheck);;All files(*.*)"); QString filepath = QFileDialog::getSaveFileName(this, diff --git a/gui/mainwindow.h b/gui/mainwindow.h index aec33c812..1c8cae8b2 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -132,16 +132,16 @@ public slots: void Save(); /** - * @brief Slot to shown project file dialog for new project file. + * @brief Slot to create new project file.. * */ - void NewProjectFileDialog(); + void NewProjectFile(); /** - * @brief Slot to shown project file dialog for existing project file. + * @brief Slot to edit existing project file. * */ - void ShowProjectFileDialog(); + void OpenProjectFile(); protected slots: