freebsd-ports/graphics/autoq3d/files/patch-src__fgui__cadform.cpp
Dmitry Marakasov 84bf3d16e9 - Fix LICENSE
- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches
2017-12-18 10:51:30 +00:00

24 lines
1 KiB
C++

--- src/fgui/cadform.cpp.orig 2016-03-24 23:43:09 UTC
+++ src/fgui/cadform.cpp
@@ -475,9 +475,9 @@ CadForm::CadForm()
QPalette newPalette = palette();
- newPalette.setColor(QPalette::Background, QColor::QColor(170,170,255));
- newPalette.setColor(QPalette::Foreground, QColor::QColor(0,0,0));
- newPalette.setColor(QPalette::Base, QColor::QColor(170,170,255));
+ newPalette.setColor(QPalette::Background, QColor(170,170,255));
+ newPalette.setColor(QPalette::Foreground, QColor(0,0,0));
+ newPalette.setColor(QPalette::Base, QColor(170,170,255));
@@ -800,7 +800,7 @@ GLApp* CadForm::newViewPort()
w->GLThisArea->cscalari=hcmd->cscalari;
w->GLThisArea->View=View;
- w->setWindowTitle(QString::QString(tr("ViewPort-%1")).arg(numDoc++));w->setWindowIcon( QPixmap(ProgramPath+"images/document.png") );
+ w->setWindowTitle(QString(tr("ViewPort-%1")).arg(numDoc++));w->setWindowIcon( QPixmap(ProgramPath+"images/document.png") );
w->show();
QWidgetList windoL=ws->windowList(QWorkspace::CreationOrder);
if ( windoL.count()==1){