summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-19 17:58:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-19 17:58:43 +0300
commitd9d99a3ea8dc905487c2ff2c32c507bbd2df9f86 (patch)
tree335667265e5ab085c8f29a593717222c3669b068 /src/gui/widgets/desktop.cpp
parentd74af590c1e44fb1a931b8d68c1682418190a2fe (diff)
downloadmanaverse-d9d99a3ea8dc905487c2ff2c32c507bbd2df9f86.tar.gz
manaverse-d9d99a3ea8dc905487c2ff2c32c507bbd2df9f86.tar.bz2
manaverse-d9d99a3ea8dc905487c2ff2c32c507bbd2df9f86.tar.xz
manaverse-d9d99a3ea8dc905487c2ff2c32c507bbd2df9f86.zip
Add function updateSize into browserbox.
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r--src/gui/widgets/desktop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index 1f61b25c9..a1111b7ae 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -119,7 +119,7 @@ void Desktop::reloadWallpaper()
void Desktop::widgetResized(const Event &event A_UNUSED)
{
mVersionLabel->setSize(getWidth(), getHeight());
- mVersionLabel->updateHeight();
+ mVersionLabel->updateSize(true);
setBestFittingWallpaper();
}