cleanups, tab fixes, remove redundant code

issue480
Don Bright 2013-09-12 20:07:59 -05:00
parent 30fd8b250a
commit 8a42158485
3 changed files with 5 additions and 7 deletions

View File

@ -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<N.dim;i++) {
if (node.newsize[i]) {

View File

@ -4,6 +4,7 @@
#include <string>
namespace PlatformUtils {
std::string documentsPath();
std::string libraryPath();
bool createLibraryPath();

View File

@ -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();