Commit da38842b authored by Jean-Philippe Andre's avatar Jean-Philippe Andre
Browse files

Qt: by default resize main interface so that it shows all MenuBar entries

parent 32fd321a
......@@ -544,7 +544,8 @@ int MainInterface::privacyDialog( QList<ConfigControl *> *controls )
QSize MainInterface::sizeHint() const
int nwidth = controls->sizeHint().width();
int nwidth = __MAX( controls->sizeHint().width(),
menuBar()->sizeHint().width() );
int nheight = controls->isVisible() ?
+ menuBar()->size().height()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment