More coding style fixes.

This commit is contained in:
Felix Geyer 2012-04-19 00:25:57 +02:00
parent 3d1fc6cd6d
commit 246bc0115e
3 changed files with 11 additions and 8 deletions

View file

@ -56,8 +56,7 @@ MainWindow::~MainWindow()
void MainWindow::setMenuActionState(int index)
{
if (m_ui->tabWidget->currentIndex() != -1)
{
if (m_ui->tabWidget->currentIndex() != -1) {
m_ui->actionDatabaseClose->setEnabled(true);
DatabaseWidget* dbWidget = m_ui->tabWidget->currentDatabaseWidget();
Q_ASSERT(dbWidget);