Skip to content

Commit

Permalink
clang-format -i src/*.cpp src/*.h
Browse files Browse the repository at this point in the history
  • Loading branch information
annejan committed Aug 31, 2023
1 parent 6c42226 commit bc4039b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/keygendialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ void KeygenDialog::replace(const QString &key, const QString &value) {
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
const QStringList lines = expert.split(newLines, Qt::SkipEmptyParts);
#else
const QStringList lines =
expert.split(newLines, QString::SkipEmptyParts);
const QStringList lines = expert.split(newLines, QString::SkipEmptyParts);
#endif
for (QString line : lines) {
line.replace(QRegularExpression(key + ":.*"), key + ": " + value);
Expand Down
3 changes: 2 additions & 1 deletion src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,8 @@ void MainWindow::on_profileBox_currentIndexChanged(QString name) {

QtPassSettings::setProfile(name);

QtPassSettings::setPassStore(QtPassSettings::getProfiles().value(name).value("path"));
QtPassSettings::setPassStore(
QtPassSettings::getProfiles().value(name).value("path"));
QtPassSettings::setPassSigningKey(
QtPassSettings::getProfiles().value(name).value("signingKey"));
ui->statusBar->showMessage(tr("Profile changed to %1").arg(name), 2000);
Expand Down
2 changes: 1 addition & 1 deletion src/pass.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "pass.h"
#include "qtpasssettings.h"
#include <QDir>
#include <QRegularExpression>
#include <QRandomGenerator>
#include <QRegularExpression>

#ifdef QT_DEBUG
#include "debughelper.h"
Expand Down
4 changes: 2 additions & 2 deletions src/qprogressindicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Expand Down
4 changes: 2 additions & 2 deletions src/qprogressindicator.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Expand Down

0 comments on commit bc4039b

Please sign in to comment.