Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
98a04668
Commit
98a04668
authored
Aug 29, 2009
by
Max-Wilhelm Bruker
Browse files
crash fix, translation fix
parent
fc1b0281
Changes
3
Hide whitespace changes
Inline
Side-by-side
cockatrice/cockatrice.pro
View file @
98a04668
...
@@ -86,3 +86,4 @@ SOURCES += src/counter.cpp \
...
@@ -86,3 +86,4 @@ SOURCES += src/counter.cpp \
src
/
phasestoolbar
.
cpp
\
src
/
phasestoolbar
.
cpp
\
src
/
chatwidget
.
cpp
src
/
chatwidget
.
cpp
TRANSLATIONS
+=
translations
/
cockatrice_de
.
ts
translations
/
cockatrice_en
.
ts
TRANSLATIONS
+=
translations
/
cockatrice_de
.
ts
translations
/
cockatrice_en
.
ts
CONFIG
+=
qt
debug
cockatrice/src/gameselector.cpp
View file @
98a04668
...
@@ -77,6 +77,9 @@ void GameSelector::actJoin()
...
@@ -77,6 +77,9 @@ void GameSelector::actJoin()
void
GameSelector
::
enableGameList
()
void
GameSelector
::
enableGameList
()
{
{
if
(
isVisible
())
return
;
connect
(
client
,
SIGNAL
(
gameListEvent
(
ServerGame
*
)),
gameListModel
,
SLOT
(
updateGameList
(
ServerGame
*
)));
connect
(
client
,
SIGNAL
(
gameListEvent
(
ServerGame
*
)),
gameListModel
,
SLOT
(
updateGameList
(
ServerGame
*
)));
client
->
listGames
();
client
->
listGames
();
show
();
show
();
...
@@ -84,7 +87,10 @@ void GameSelector::enableGameList()
...
@@ -84,7 +87,10 @@ void GameSelector::enableGameList()
void
GameSelector
::
disableGameList
()
void
GameSelector
::
disableGameList
()
{
{
disconnect
(
client
,
0
,
this
,
0
);
if
(
!
isVisible
())
return
;
disconnect
(
client
,
0
,
gameListModel
,
0
);
hide
();
hide
();
gameListModel
->
cleanList
();
gameListModel
->
cleanList
();
}
}
...
...
cockatrice/translations/cockatrice_de.ts
View file @
98a04668
...
@@ -1160,7 +1160,7 @@
...
@@ -1160,7 +1160,7 @@
<
message
>
<
message
>
<
location
filename
=
"
../src/messagelogwidget.cpp
"
line
=
"
215
"
/>
<
location
filename
=
"
../src/messagelogwidget.cpp
"
line
=
"
215
"
/>
<
source
>%
1
sets
counter
&
quot
;
%
2
&
quot
;
to
%
3
(
%
4
%
5
).
<
/source
>
<
source
>%
1
sets
counter
&
quot
;
%
2
&
quot
;
to
%
3
(
%
4
%
5
).
<
/source
>
<
translation
>%
1
setzt
Zählmarke
&
quot
;
%
2
&
quot
;
auf
%
3
%
(
%
4
%
5
).
<
/translation
>
<
translation
type
=
"
unfinished
"
>%
1
setzt
Zählmarke
&
quot
;
%
2
&
quot
;
auf
%
3
(
%
4
%
5
).
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>%
1
is
looking
at
the
top
%
2
cards
of
%
3
.
<
/source
>
<
source
>%
1
is
looking
at
the
top
%
2
cards
of
%
3
.
<
/source
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment