Commit 6f3b4bba authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Use "{ }" consistently in "if... else..." statements.

parent 0016b3c0
......@@ -958,7 +958,9 @@ void SessionController::showHistoryOptions()
if ( currentHistory.isEnabled() )
{
if ( currentHistory.isUnlimited() )
{
dialog->setMode( HistorySizeDialog::UnlimitedHistory );
}
else
{
dialog->setMode( HistorySizeDialog::FixedSizeHistory );
......@@ -966,7 +968,9 @@ void SessionController::showHistoryOptions()
}
}
else
{
dialog->setMode( HistorySizeDialog::NoHistory );
}
connect( dialog , SIGNAL(optionsChanged(int,int,bool)) ,
this , SLOT(scrollBackOptionsChanged(int,int,bool)) );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment