From 3d9b66cf0f13792998e425a4fde937a5ad0197ed Mon Sep 17 00:00:00 2001 From: Torsten Paul Date: Tue, 23 Dec 2014 05:57:34 +0100 Subject: [PATCH] Fix crash on startup for the MinGW version. --- src/mainwin.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mainwin.cc b/src/mainwin.cc index 620d9fec..8ddfe668 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -125,8 +125,6 @@ QSet *MainWindow::getWindows() // Global application state unsigned int GuiLocker::gui_locked = 0; -static std::string helptitle = openscad_version + "\nhttp://www.openscad.org\n\n"; - static char copyrighttext[] = "Copyright (C) 2009-2014 The OpenSCAD Developers\n" "\n" @@ -404,6 +402,7 @@ MainWindow::MainWindow(const QString &filename) setCurrentOutput(); + std::string helptitle = openscad_version + "\nhttp://www.openscad.org\n\n"; PRINT(helptitle); PRINT(copyrighttext); PRINT(""); @@ -2400,7 +2399,6 @@ void MainWindow::helpAbout() qApp->setWindowIcon(QApplication::windowIcon()); AboutDialog *dialog = new AboutDialog(this); dialog->exec(); - //QMessageBox::information(this, "About OpenSCAD", QString(helptitle) + QString(copyrighttext)); } void MainWindow::helpHomepage()