-rw-r--r-- | noncore/games/go/gowidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/go/gowidget.cpp b/noncore/games/go/gowidget.cpp index 8567b30..1d38c9f 100644 --- a/noncore/games/go/gowidget.cpp +++ b/noncore/games/go/gowidget.cpp | |||
@@ -118,25 +118,25 @@ GoWidget *GoWidget::self = 0; | |||
118 | 118 | ||
119 | GoWidget::GoWidget( QWidget *parent, const char* name) : | 119 | GoWidget::GoWidget( QWidget *parent, const char* name) : |
120 | QWidget( parent, name ) | 120 | QWidget( parent, name ) |
121 | { | 121 | { |
122 | if ( self ) | 122 | if ( self ) |
123 | fatal( "Only one Go widget allowed" ); | 123 | fatal( "Only one Go widget allowed" ); |
124 | self = this; | 124 | self = this; |
125 | twoplayer = FALSE; | 125 | twoplayer = FALSE; |
126 | 126 | ||
127 | 127 | ||
128 | d = bx = by = 1; | 128 | d = bx = by = 1; |
129 | 129 | ||
130 | QPixmap pix = Resource::loadPixmap( "pine" ); | 130 | QPixmap pix = Resource::loadPixmap( "go/pine" ); |
131 | goBrush = new QBrush( black, pix ); | 131 | goBrush = new QBrush( black, pix ); |
132 | /* | 132 | /* |
133 | QString fn = Resource::findPixmap("Go-black"); | 133 | QString fn = Resource::findPixmap("Go-black"); |
134 | blackStone = new QImage( fn ); | 134 | blackStone = new QImage( fn ); |
135 | fn = Resource::findPixmap("Go-black-highlight"); | 135 | fn = Resource::findPixmap("Go-black-highlight"); |
136 | newBlackStone = new QImage( fn ); | 136 | newBlackStone = new QImage( fn ); |
137 | fn = Resource::findPixmap("Go-white"); | 137 | fn = Resource::findPixmap("Go-white"); |
138 | whiteStone = new QImage( fn ); | 138 | whiteStone = new QImage( fn ); |
139 | */ | 139 | */ |
140 | blackStone = new QPixmap(Resource::loadPixmap( "Go-black" )); | 140 | blackStone = new QPixmap(Resource::loadPixmap( "Go-black" )); |
141 | whiteStone = new QPixmap(Resource::loadPixmap( "Go-white" )); | 141 | whiteStone = new QPixmap(Resource::loadPixmap( "Go-white" )); |
142 | newBlackStone = new QPixmap(Resource::loadPixmap( "Go-black-highlight" )); | 142 | newBlackStone = new QPixmap(Resource::loadPixmap( "Go-black-highlight" )); |