Merge branch 'master' of ssh://drop.maemo.org/git/mdictionary
[mdictionary] / trunk / src / base / gui / AboutWidget.cpp
index a4faa6e..c33ffc0 100644 (file)
@@ -87,9 +87,10 @@ AboutWidget::AboutWidget(GUIInterface *parent): QDialog(parent)
     #ifndef Q_WS_MAEMO_5
         w->setLayout(mainLayout);
         scroll->setWidget(w);
+        scroll->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
         scrollLayout->addWidget(scroll, 0, Qt::AlignHCenter);
         this->setLayout(scrollLayout);
-        this->resize(img.width()*1.65, img.height()*2.60);
+        scroll->setMinimumSize(img.width()*1.65, img.height()*2.60);
     #else
         setLayout(mainLayout);
     #endif