Skip to content

Commit 5f21c23

Browse files
committed
Remove some unnecessary semicolons
1 parent fad8a84 commit 5f21c23

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/CondFormat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class CondFormat
2020
// List of alignment texts. Order must be as Alignment definition above.
2121
static QStringList alignmentTexts() {
2222
return {QObject::tr("Left"), QObject::tr("Right"), QObject::tr("Center"), QObject::tr("Justify")};
23-
};
23+
}
2424

2525
// Get alignment from combined Qt alignment (note that this will lose any combination of our Alignment enum
2626
// with other values present in the flag (e.g. vertical alignment).

src/EditTableDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ void EditTableDialog::constraintItemChanged(QTableWidgetItem* item)
731731
case kConstraintName:
732732
constraint->setName(item->text().toStdString());
733733
break;
734-
};
734+
}
735735

736736
// Update SQL
737737
ui->tableConstraints->item(item->row(), kConstraintSql)->setText(QString::fromStdString(constraint->toSql()));

src/ExportSqlDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void ExportSqlDialog::accept()
8080
if(selectedItems.count() == 1) // One table -> Suggest table name
8181
defaultFileName = selectedItems.at(0)->text() + FILE_EXT_SQL_DEFAULT;
8282
else if(selectedItems.count() == ui->listTables->count()) // All tables -> Suggest database name
83-
defaultFileName = pdb->currentFile() + FILE_EXT_SQL_DEFAULT;;
83+
defaultFileName = pdb->currentFile() + FILE_EXT_SQL_DEFAULT;
8484

8585
QString fileName = FileDialog::getSaveFileName(
8686
CreateSQLFile,

0 commit comments

Comments
 (0)