summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-18 01:53:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-18 01:53:49 +0300
commit91cd49664d1dbe1bdea78541fcdf4bd3ec94f22a (patch)
tree50575d253765d4da76e2e48ca612733f41fd1a6e /src/gui/widgets/desktop.cpp
parent0c1728a337db0591735b0327f2a08b96e2fce86f (diff)
downloadmanaplus-91cd49664d1dbe1bdea78541fcdf4bd3ec94f22a.tar.gz
manaplus-91cd49664d1dbe1bdea78541fcdf4bd3ec94f22a.tar.bz2
manaplus-91cd49664d1dbe1bdea78541fcdf4bd3ec94f22a.tar.xz
manaplus-91cd49664d1dbe1bdea78541fcdf4bd3ec94f22a.zip
Fix browserbox initial size in desktop.
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r--src/gui/widgets/desktop.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index 43248ebe8..1f61b25c9 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -119,6 +119,7 @@ void Desktop::reloadWallpaper()
void Desktop::widgetResized(const Event &event A_UNUSED)
{
mVersionLabel->setSize(getWidth(), getHeight());
+ mVersionLabel->updateHeight();
setBestFittingWallpaper();
}