forked from qt-creator/qt-creator
Braces cleanup
Change-Id: I8413252c90a1487d291f15d92837c30ab697b245 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -455,9 +455,8 @@ void AndroidManifestEditorWidget::initializePage()
|
||||
bool AndroidManifestEditorWidget::eventFilter(QObject *obj, QEvent *event)
|
||||
{
|
||||
if (obj == m_targetLineEdit) {
|
||||
if (event->type() == QEvent::FocusIn) {
|
||||
if (event->type() == QEvent::FocusIn)
|
||||
QTimer::singleShot(0, this, SLOT(updateTargetComboBox()));
|
||||
}
|
||||
}
|
||||
|
||||
if (obj == m_overlayWidget)
|
||||
@@ -561,9 +560,8 @@ bool AndroidManifestEditorWidget::setActivePage(EditorPage page)
|
||||
syncToEditor();
|
||||
setFocus();
|
||||
} else {
|
||||
if (!syncToWidgets()) {
|
||||
if (!syncToWidgets())
|
||||
return false;
|
||||
}
|
||||
|
||||
QWidget *fw = m_overlayWidget->focusWidget();
|
||||
if (fw && fw != m_overlayWidget)
|
||||
|
Reference in New Issue
Block a user