Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 1.3.1
-
None
-
Windows seven, certainly all
-
27578a6c2c78138d6259f88660867e50ebaac604
Description
Wrong indentation when their is no bracket in the root if statement and child have some.
Qt creator=solid
void LoginRequest::RequestToUser() { exec(); mLogin = mLoginUI->login->text(); mPassWord = mLoginUI->password->text(); mWorld = mLoginUI->world->currentIndex(); if (mLoginUI->save->checkState() == Qt::Checked) if (mSettings.open("settings.xml")) { mSettings.save(); mSettings.close(); } }
instead of :
normal=solid
void LoginRequest::RequestToUser() { exec(); mLogin = mLoginUI->login->text(); mPassWord = mLoginUI->password->text(); mWorld = mLoginUI->world->currentIndex(); if (mLoginUI->save->checkState() == Qt::Checked) if (mSettings.open("settings.xml")) { mSettings.save(); mSettings.close(); } }