summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-05 19:10:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-05 19:10:52 +0300
commit9539093c42bc459aaa1a1053d0e31b03d0839824 (patch)
treeebeb9bb816ace0c6810f540be71700e95d72477c /src/gui/charselectdialog.cpp
parent466e23ae13e05cc279b5ee05535473e7e1ce2923 (diff)
downloadplus-9539093c42bc459aaa1a1053d0e31b03d0839824.tar.gz
plus-9539093c42bc459aaa1a1053d0e31b03d0839824.tar.bz2
plus-9539093c42bc459aaa1a1053d0e31b03d0839824.tar.xz
plus-9539093c42bc459aaa1a1053d0e31b03d0839824.zip
adjust char selection dialog for small screens.
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r--src/gui/charselectdialog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index 9b96c77c0..04691bbdc 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -109,8 +109,8 @@ CharSelectDialog::CharSelectDialog(LoginData *const data):
mCharServerHandler(Net::getCharServerHandler()),
mDeleteDialog(nullptr),
mDeleteIndex(-1),
- mSmallScreen(mainGraphics->getWidth() < 485
- || mainGraphics->getHeight() < 485)
+ mSmallScreen(mainGraphics->getWidth() < 470
+ || mainGraphics->getHeight() < 370)
{
setCloseButton(true);
setFocusable(true);
@@ -181,7 +181,6 @@ CharSelectDialog::CharSelectDialog(LoginData *const data):
placer(0, 1, mCharacterView, 10);
reflowLayout();
}
-
addKeyListener(this);
center();
setVisible(true);