{
if(e->type() == QEvent::Resize)
{
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
if(((QWidget *)this->parent())->testAttribute(Qt::WA_Maemo5PortraitOrientation))
{
ui->sBox->setReadOnly(true);
}
else
ui->sBox->setReadOnly(false);
+#endif
}
}
}
else
return QWidget::eventFilter(obj,e);
+ return true;
}