fix build failure for Qt4
This commit is contained in:
@@ -45,6 +45,9 @@ SketcherGeneralWidget::SketcherGeneralWidget(QWidget *parent)
|
||||
: QWidget(parent), ui(new Ui_TaskSketcherGeneral)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
#if QT_VERSION >= 0x050200
|
||||
ui->renderingOrder->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
|
||||
#endif
|
||||
|
||||
// connecting the needed signals
|
||||
connect(ui->checkBoxShowGrid, SIGNAL(toggled(bool)),
|
||||
|
||||
@@ -136,9 +136,6 @@ Points must be set closer than a fifth of the grid size to a grid line to snap.<
|
||||
<property name="toolTip">
|
||||
<string>To change, drag and drop a geometry type to top or bottom</string>
|
||||
</property>
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QAbstractScrollArea::AdjustToContents</enum>
|
||||
</property>
|
||||
<property name="dragEnabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user