Coding style fixes.

This commit is contained in:
Felix Geyer 2012-06-30 00:22:07 +02:00
parent ca13ad8d25
commit ee3bc89a54
9 changed files with 22 additions and 11 deletions

View file

@ -62,7 +62,8 @@ DatabaseTabWidget::~DatabaseTabWidget()
}
}
void DatabaseTabWidget::toggleTabbar() {
void DatabaseTabWidget::toggleTabbar()
{
if (count() > 1) {
if (!tabBar()->isVisible()) {
tabBar()->show();
@ -228,7 +229,8 @@ void DatabaseTabWidget::deleteDatabase(Database* db)
delete db;
}
bool DatabaseTabWidget::closeAllDatabases() {
bool DatabaseTabWidget::closeAllDatabases()
{
while (!m_dbList.isEmpty()) {
if (!closeDatabase()) {
return false;