Skip to content

Commit

Permalink
- Removed the test code.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22791 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Oct 17, 2014
1 parent df7c541 commit f8c0079
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
12 changes: 0 additions & 12 deletions OMEdit/OMEditGUI/MainWindow.cpp
Expand Up @@ -41,7 +41,6 @@
#include "MainWindow.h"
#include "VariablesWidget.h"
#include "Helper.h"
#include "CrashReportDialog.h"

MainWindow::MainWindow(QSplashScreen *pSplashScreen, QWidget *parent)
: QMainWindow(parent), mExitApplicationStatus(false), mDebugApplication(false)
Expand Down Expand Up @@ -1661,12 +1660,6 @@ void MainWindow::openAboutOMEdit()
mpAboutOMEditDialog->show();
}

void MainWindow::crashReport()
{
CrashReportDialog *pCrashReportDialog = new CrashReportDialog;
pCrashReportDialog->exec();
}

void MainWindow::toggleShapesButton()
{
QAction *clickedAction = qobject_cast<QAction*>(const_cast<QObject*>(sender()));
Expand Down Expand Up @@ -2057,10 +2050,6 @@ void MainWindow::createActions()
mpAboutOMEditAction = new QAction(tr("About OMEdit"), this);
mpAboutOMEditAction->setStatusTip(tr("Information about OMEdit"));
connect(mpAboutOMEditAction, SIGNAL(triggered()), SLOT(openAboutOMEdit()));

mpCrashReportAction = new QAction(tr("Crash Report"), this);
connect(mpCrashReportAction, SIGNAL(triggered()), SLOT(crashReport()));

/* Toolbar Actions */
// custom shapes group
mpShapesActionGroup = new QActionGroup(this);
Expand Down Expand Up @@ -2282,7 +2271,6 @@ void MainWindow::createMenus()
// pHelpMenu->addAction(mpModelicaWebReferenceAction);
// pHelpMenu->addSeparator();
pHelpMenu->addAction(mpAboutOMEditAction);
pHelpMenu->addAction(mpCrashReportAction);
// add Help menu to menu bar
menuBar()->addAction(pHelpMenu->menuAction());
}
Expand Down
3 changes: 0 additions & 3 deletions OMEdit/OMEditGUI/MainWindow.h
Expand Up @@ -63,7 +63,6 @@
#include "DebuggerMainWindow.h"
#include "ImportFMUDialog.h"
#include "NotificationsDialog.h"
#include "CrashReportDialog.h"

class OMCProxy;
class OptionsDialog;
Expand Down Expand Up @@ -252,7 +251,6 @@ class MainWindow : public QMainWindow
QAction *mpModelicaByExampleAction;
QAction *mpModelicaWebReferenceAction;
QAction *mpAboutOMEditAction;
QAction *mpCrashReportAction;
// Toolbar Actions
// Shapes Toolbar Actions
QActionGroup *mpShapesActionGroup;
Expand Down Expand Up @@ -326,7 +324,6 @@ public slots:
void openModelicaByExample();
void openModelicaWebReference();
void openAboutOMEdit();
void crashReport();
void toggleShapesButton();
void openRecentModelWidget();
void addNewPlotWindow();
Expand Down
1 change: 1 addition & 0 deletions OMEdit/OMEditGUI/main.cpp
Expand Up @@ -66,6 +66,7 @@
#include "MainWindow.h"
#include "Helper.h"
#include "../../Compiler/runtime/config.h"
#include "CrashReportDialog.h"

#ifdef QT_NO_DEBUG
#ifndef WIN32
Expand Down

0 comments on commit f8c0079

Please sign in to comment.