Skip to content

Commit

Permalink
remove: unnecessary semicolons
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <[email protected]>
  • Loading branch information
pbek committed Dec 23, 2024
1 parent a6bbccc commit 5687072
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/helpers/codetohtmlconverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ QString CodeToHtmlConverter::process(StringView input) const {
case CodeForth:
loadForthData(types, keywords, builtin, literals, others);
comment = QLatin1Char('\\');
;
break;
case CodeSystemVerilog:
loadSystemVerilogData(types, keywords, builtin, literals, others);
Expand Down
5 changes: 0 additions & 5 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4168,7 +4168,6 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
}

return QMainWindow::eventFilter(obj, event);
;
}
} else if (obj == ui->searchLineEdit) {
bool downSelectNote = false;
Expand All @@ -4188,7 +4187,6 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
// open the completer
ui->searchLineEdit->completer()->complete();
return QMainWindow::eventFilter(obj, event);
;
} else {
// if nothing was found in the completer we want to jump
// to the note list
Expand All @@ -4215,7 +4213,6 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
return true;
}
return QMainWindow::eventFilter(obj, event);
;
} else if (obj == activeNoteTextEdit()) {
// check if we want to leave the distraction free mode and the
// search widget is not visible (because we want to close that
Expand All @@ -4228,7 +4225,6 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
}

return QMainWindow::eventFilter(obj, event);
;
} else if (obj == ui->noteTreeWidget) {
// set focus to the note text edit if Key_Return or Key_Tab were
// pressed in the notes list
Expand All @@ -4249,7 +4245,6 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
return true;
}
return QMainWindow::eventFilter(obj, event);
;
} else if (obj == ui->tagTreeWidget) {
if ((keyEvent->key() == Qt::Key_Delete) || (keyEvent->key() == Qt::Key_Backspace)) {
removeSelectedTags();
Expand Down
2 changes: 0 additions & 2 deletions src/services/openaiservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,8 @@ void OpenAiService::initializeBackends() {
SettingsService settings;
_backendApiKeys[QStringLiteral("groq")] = CryptoService::instance()->decryptToString(
settings.value(getApiKeySettingsKeyForBackend(QStringLiteral("groq"))).toString());
;
_backendApiKeys[QStringLiteral("openai")] = CryptoService::instance()->decryptToString(
settings.value(getApiKeySettingsKeyForBackend(QStringLiteral("openai"))).toString());
;

_backendNames.clear();
_backendNames[QStringLiteral("groq")] = QStringLiteral("Groq");
Expand Down

0 comments on commit 5687072

Please sign in to comment.