diff options
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r-- | src/gui/socialwindow.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index 00211e02..9ba64e9f 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -240,10 +240,9 @@ class CreatePopup : public Popup, public LinkHandler { public: CreatePopup(): - Popup("SocialCreatePopup") + Popup("SocialCreatePopup") { mBrowserBox = new BrowserBox; - mBrowserBox->setPosition(4, 4); mBrowserBox->setHighlightMode(BrowserBox::BACKGROUND); mBrowserBox->setLinkHandler(this); @@ -255,8 +254,8 @@ public: add(mBrowserBox); - setContentSize(mBrowserBox->getWidth() + 8, - mBrowserBox->getHeight() + 8); + setContentSize(mBrowserBox->getWidth(), + mBrowserBox->getHeight()); } void handleLink(const std::string &link) override |