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
a6155811
Commit
a6155811
authored
Sep 21, 2011
by
Max-Wilhelm Bruker
Browse files
qtmultimedia related compile fix (hopefully), adjusted maximum ban duration
parent
8344920f
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/cockatrice.pro
View file @
a6155811
...
...
@@ -5,9 +5,13 @@ INCLUDEPATH += . src ../common
MOC_DIR
=
build
OBJECTS_DIR
=
build
RESOURCES
=
cockatrice
.
qrc
QT
+=
network
script
svg
multimedia
CONFIG
+=
mobility
MOBILITY
=
multimedia
QT
+=
network
script
svg
linux
-
g
++
{
CONFIG
+=
mobility
MOBILITY
=
multimedia
}
else
{
QT
+=
multimedia
}
HEADERS
+=
src
/
abstractcounter
.
h
\
src
/
counter_general
.
h
\
...
...
cockatrice/src/userlist.cpp
View file @
a6155811
...
...
@@ -24,6 +24,7 @@ BanDialog::BanDialog(QWidget *parent)
durationEdit
=
new
QSpinBox
;
durationEdit
->
setMinimum
(
0
);
durationEdit
->
setValue
(
5
);
durationEdit
->
setMaximum
(
99999999
);
QLabel
*
reasonLabel
=
new
QLabel
(
tr
(
"Please enter the reason for the ban.
\n
This is only saved for moderators and cannot be seen by the banned person."
));
reasonEdit
=
new
QPlainTextEdit
;
...
...
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