mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
Make the port build with gcc 4.6 (and possibly other compilers).
Use QFoo(...) instead of QFoo::QFoo(...), which is a wrong way of calling the constructor.
This commit is contained in:
parent
5f66204dd0
commit
ef283e08d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296988
15
graphics/autoq3d/files/patch-src__cmds__cmds.cpp
Normal file
15
graphics/autoq3d/files/patch-src__cmds__cmds.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
--- src/cmds/cmds.cpp~ 2012-05-19 22:44:14.000000000 -0300
|
||||
+++ src/cmds/cmds.cpp 2012-05-19 22:44:25.000000000 -0300
|
||||
@@ -89,9 +89,9 @@
|
||||
|
||||
|
||||
QPalette newPalette = QPalette();
|
||||
- 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));
|
||||
|
||||
setPalette(newPalette);
|
||||
|
24
graphics/autoq3d/files/patch-src__fgui__cadform.cpp
Normal file
24
graphics/autoq3d/files/patch-src__fgui__cadform.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
--- src/fgui/cadform.cpp~ 2012-05-19 22:45:11.000000000 -0300
|
||||
+++ src/fgui/cadform.cpp 2012-05-19 22:46:08.000000000 -0300
|
||||
@@ -475,9 +475,9 @@
|
||||
|
||||
|
||||
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 @@
|
||||
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){
|
Loading…
x
Reference in New Issue
Block a user