qtmultimedia related compile fix (hopefully), adjusted maximum ban duration
This commit is contained in:
parent
8344920fdc
commit
a61558117f
2 changed files with 8 additions and 3 deletions
|
@ -5,9 +5,13 @@ INCLUDEPATH += . src ../common
|
||||||
MOC_DIR = build
|
MOC_DIR = build
|
||||||
OBJECTS_DIR = build
|
OBJECTS_DIR = build
|
||||||
RESOURCES = cockatrice.qrc
|
RESOURCES = cockatrice.qrc
|
||||||
QT += network script svg multimedia
|
QT += network script svg
|
||||||
CONFIG += mobility
|
linux-g++ {
|
||||||
MOBILITY = multimedia
|
CONFIG += mobility
|
||||||
|
MOBILITY = multimedia
|
||||||
|
} else {
|
||||||
|
QT += multimedia
|
||||||
|
}
|
||||||
|
|
||||||
HEADERS += src/abstractcounter.h \
|
HEADERS += src/abstractcounter.h \
|
||||||
src/counter_general.h \
|
src/counter_general.h \
|
||||||
|
|
|
@ -24,6 +24,7 @@ BanDialog::BanDialog(QWidget *parent)
|
||||||
durationEdit = new QSpinBox;
|
durationEdit = new QSpinBox;
|
||||||
durationEdit->setMinimum(0);
|
durationEdit->setMinimum(0);
|
||||||
durationEdit->setValue(5);
|
durationEdit->setValue(5);
|
||||||
|
durationEdit->setMaximum(99999999);
|
||||||
QLabel *reasonLabel = new QLabel(tr("Please enter the reason for the ban.\nThis is only saved for moderators and cannot be seen by the banned person."));
|
QLabel *reasonLabel = new QLabel(tr("Please enter the reason for the ban.\nThis is only saved for moderators and cannot be seen by the banned person."));
|
||||||
reasonEdit = new QPlainTextEdit;
|
reasonEdit = new QPlainTextEdit;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue