From 8a421584859ddd1347b2916601547e4ba993e5ed Mon Sep 17 00:00:00 2001 From: Don Bright Date: Thu, 12 Sep 2013 20:07:59 -0500 Subject: cleanups, tab fixes, remove redundant code diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc index 8da4649..ec01315 100644 --- a/src/CGALEvaluator.cc +++ b/src/CGALEvaluator.cc @@ -215,7 +215,6 @@ CGAL_Nef_polyhedron CGALEvaluator::applyResize(const CgaladvNode &node) bbox_size.push_back( bb.xmax()-bb.xmin() ); bbox_size.push_back( bb.ymax()-bb.ymin() ); bbox_size.push_back( bb.zmax()-bb.zmin() ); - int newsizemax_index = 0; for (int i=0;i namespace PlatformUtils { + std::string documentsPath(); std::string libraryPath(); bool createLibraryPath(); diff --git a/src/mainwin.cc b/src/mainwin.cc index 3104ed3..7bcf926 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -1826,14 +1826,12 @@ MainWindow::helpManual() void MainWindow::helpLibrary() { - std::string basicinfo = PlatformUtils::info(); - QString info( basicinfo.c_str() ); - info += QString(qglview->getRendererInfo().c_str()); - + QString info( PlatformUtils::info().c_str() ); + info += QString( qglview->getRendererInfo().c_str() ); if (!this->openglbox) { this->openglbox = new QMessageBox(QMessageBox::Information, - "OpenGL Info", "OpenSCAD Detailed Library and Build Information", - QMessageBox::Ok, this); + "OpenGL Info", "OpenSCAD Detailed Library and Build Information", + QMessageBox::Ok, this); } this->openglbox->setDetailedText( info ); this->openglbox->show(); -- cgit v0.10.1