forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qgo-1.5.4_p20100322-gcc45.patch
77 lines (63 loc) · 2.76 KB
/
qgo-1.5.4_p20100322-gcc45.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
--- a/src/board/board.cpp 2010-06-01 08:20:32.000000000 +0200
+++ b/src/board/board.cpp 2010-06-01 08:20:54.000000000 +0200
@@ -347,7 +347,7 @@
}
//redraws the image on a brush to set the background
- canvas->setBackgroundBrush ( QBrush::QBrush(image));
+ canvas->setBackgroundBrush ( QBrush(image));
}
--- a/src/board/clockdisplay.cpp 2010-06-01 08:31:10.000000000 +0200
+++ b/src/board/clockdisplay.cpp 2010-06-01 08:31:38.000000000 +0200
@@ -274,13 +274,13 @@
if(b_time > 3600 || w_time > 3600)
{
- bt = QTime::QTime(0,0).addSecs(abs(b_time)).toString("h:mm:ss") ;
- wt = QTime::QTime(0,0).addSecs(abs(w_time)).toString("h:mm:ss") ;
+ bt = QTime(0,0).addSecs(abs(b_time)).toString("h:mm:ss") ;
+ wt = QTime(0,0).addSecs(abs(w_time)).toString("h:mm:ss") ;
}
else
{
- bt = QTime::QTime(0,0).addSecs(abs(b_time)).toString("m:ss") ;
- wt = QTime::QTime(0,0).addSecs(abs(w_time)).toString("m:ss") ;
+ bt = QTime(0,0).addSecs(abs(b_time)).toString("m:ss") ;
+ wt = QTime(0,0).addSecs(abs(w_time)).toString("m:ss") ;
}
switch(timeSystem)
--- a/src/gtp/qgtp.cpp 2010-06-01 08:34:09.000000000 +0200
+++ b/src/gtp/qgtp.cpp 2010-06-01 08:34:28.000000000 +0200
@@ -341,7 +341,7 @@
_cpt++;
qDebug("flush -> %s",s);
- uint i= programProcess->write(QByteArray::QByteArray(s));
+ uint i= programProcess->write(QByteArray(s));
// int j= programProcess->waitForBytesWritten ( 100 );
--- a/src/board/imagehandler.cpp 2010-06-01 08:34:55.000000000 +0200
+++ b/src/board/imagehandler.cpp 2010-06-01 08:35:17.000000000 +0200
@@ -93,8 +93,8 @@
{
altGhostPixmaps = new QList<QPixmap>();//::QList();
- QPixmap alt1 = QPixmap::QPixmap(":/new/prefix1/ressources/pics/alt_ghost_black.png");
- QPixmap alt2 = QPixmap:: QPixmap(":/new/prefix1/ressources/pics/alt_ghost_white.png");
+ QPixmap alt1 = QPixmap(":/new/prefix1/ressources/pics/alt_ghost_black.png");
+ QPixmap alt2 = QPixmap(":/new/prefix1/ressources/pics/alt_ghost_white.png");
if (alt1.isNull() || alt2.isNull())
qFatal("Could not load alt_ghost pixmaps.");
--- a/src/board/mark.cpp 2010-06-01 08:36:39.000000000 +0200
+++ b/src/board/mark.cpp 2010-06-01 08:36:51.000000000 +0200
@@ -109,7 +109,7 @@
setPen(QPen(col, 2));
// else
- pa = QPolygon::QPolygon(3);
+ pa = QPolygon(3);
// setPen(QPen(col, 1));
setSize(s, s);
--- a/src/network/gamedialog.cpp 2010-06-01 08:45:26.000000000 +0200
+++ b/src/network/gamedialog.cpp 2010-06-01 08:45:40.000000000 +0200
@@ -1123,7 +1123,7 @@
* probably FIXME, I just wonder why its like that in the first place */
QPalette p(QApplication::palette());
- p.setColor( QPalette::Base , QColor::QColor("cyan"));
+ p.setColor( QPalette::Base , QColor("cyan"));
qDebug("GameDialog::recvRequest");
/* If there's no existing request, then nothing should have changed