Skip to content

Commit

Permalink
Warning in database editor plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Jan 11, 2014
1 parent a165671 commit f084c9e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions scripts/deploy-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ cp bin/Server $DEST
cp bin/BattleServer $DEST
cp bin/StatsExtracter $DEST
cp bin/RelayStation $DEST
cp bin/MoveMachine $DEST
cp bin/libqtwebsocket.so.1.0.0 $DEST/libqtwebsocket.so.1
cp bin/libqjson.so.1.0.0 $DEST/libqtjson.so.1
cp bin/libpo-utilities.so.1.0.0 $DEST/libpo-utilities.so.1
Expand Down
1 change: 0 additions & 1 deletion scripts/deploy-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ cp bin/qml $DEST -R
cp bin/usage_stats $DEST -R
cp bin/Themes $DEST -R
cp bin/languages.txt $DEST
cp bin/Pokemon-Online.exe $DEST
cp bin/*.exe $DEST
cp bin/*.dll $DEST
rm $DEST/*_debug.exe
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <qglobal.h>

#define VERSION QString("2.4.0")
#define VERSION QString("2.4.1")

static const quint16 PROTOCOL_VERSION = 3;
static const quint16 PROTOCOL_SUBVERSION = 0;
Expand Down
3 changes: 2 additions & 1 deletion src/Teambuilder/Teambuilder.pro
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ HEADERS += mainwindow.h \
downloadmanager.h \
teambuilderinterface.h \
Teambuilder/pokedex.h \
Teambuilder/pokedexpokeselection.h
Teambuilder/pokedexpokeselection.h \
../Shared/config.h

contains(QT_VERSION, ^5\\.[0-9]\\..*) {
DEFINES += QT5
Expand Down
2 changes: 1 addition & 1 deletion src/client-plugins/DatabaseEditor/pokemoneditordialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace {
};

int learningToId(const QString &method) {
for (int i = 0; i < sizeof(learningMethods)/sizeof(QString); i++) {
for (unsigned i = 0; i < sizeof(learningMethods)/sizeof(QString); i++) {
if (learningMethods[i] == method) {
return i;
}
Expand Down
12 changes: 11 additions & 1 deletion src/client-plugins/DatabaseEditor/pokemoneditordialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<property name="windowTitle">
<string>Database Editor</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,1,0">
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,1,0,0">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
Expand Down Expand Up @@ -163,6 +163,16 @@
</attribute>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">

This comment has been minimized.

Copy link
@HRDepartment

HRDepartment Jan 11, 2014

Contributor

Double space!

This comment has been minimized.

Copy link
@coyotte508

coyotte508 Jan 11, 2014

Author Member

my god!

<string>Run MoveMachine and do Ctrl+S after having done all your changes, to propagate them through the various files correctly.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
Expand Down

0 comments on commit f084c9e

Please sign in to comment.