ui: fixed SearchView style on mac and aligned it at top

This commit is contained in:
Eberhard Graether
2014-07-21 20:32:20 +02:00
parent 5d201b9880
commit 4262be133a
4 changed files with 26 additions and 21 deletions
+2
View File
@@ -4,6 +4,8 @@ QtButton::QtButton(QWidget *parent)
: QPushButton(parent)
, m_onClick(nullptr)
{
setAttribute(Qt::WA_LayoutUsesWidgetRect); // fixes layouting on Mac
connect(this, SIGNAL(clicked()), this, SLOT(slotOnClick()));
}