Skip to content

Commit c718a7c

Browse files
author
Daniel Marjamäki
committed
astyle: Update to astyle 1.24
1 parent 3fa2137 commit c718a7c

39 files changed

Lines changed: 248 additions & 246 deletions

cli/cppcheckexecutor.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ void CppCheckExecutor::reportStatus(unsigned int index, unsigned int max)
9393
{
9494
std::ostringstream oss;
9595
oss << index << "/" << max
96-
<< " files checked " <<
97-
static_cast<int>(static_cast<double>(index) / max*100)
98-
<< "% done";
96+
<< " files checked " <<
97+
static_cast<int>(static_cast<double>(index) / max*100)
98+
<< "% done";
9999
std::cout << oss.str() << std::endl;
100100
}
101101
}

cli/threadexecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#endif
3131

3232
ThreadExecutor::ThreadExecutor(const std::vector<std::string> &filenames, const Settings &settings, ErrorLogger &errorLogger)
33-
: _filenames(filenames), _settings(settings), _errorLogger(errorLogger), _fileCount(0)
33+
: _filenames(filenames), _settings(settings), _errorLogger(errorLogger), _fileCount(0)
3434
{
3535

3636
}

gui/aboutdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "aboutdialog.h"
2424

2525
AboutDialog::AboutDialog(const QString &version, QWidget *parent)
26-
: QDialog(parent)
26+
: QDialog(parent)
2727
{
2828
mUI.setupUi(this);
2929

gui/applicationdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ApplicationDialog::ApplicationDialog(const QString &name,
3030
const QString &path,
3131
const QString &title,
3232
QWidget *parent) :
33-
QDialog(parent)
33+
QDialog(parent)
3434
{
3535
mUI.setupUi(this);
3636

gui/applicationlist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "common.h"
2222

2323
ApplicationList::ApplicationList(QObject *parent) :
24-
QObject(parent)
24+
QObject(parent)
2525
{
2626
//ctor
2727
}

gui/checkthread.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
#include <QDebug>
2222

2323
CheckThread::CheckThread(ThreadResult &result) :
24-
mState(Ready),
25-
mResult(result),
26-
mCppcheck(result)
24+
mState(Ready),
25+
mResult(result),
26+
mCppcheck(result)
2727
{
2828
//ctor
2929
}

gui/csvreport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "csvreport.h"
2222

2323
CsvReport::CsvReport(const QString &filename, QObject * parent) :
24-
Report(filename, parent)
24+
Report(filename, parent)
2525
{
2626
}
2727

gui/fileviewdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
FileViewDialog::FileViewDialog(const QString &file,
3030
const QString &title,
3131
QWidget *parent)
32-
: QDialog(parent)
32+
: QDialog(parent)
3333
{
3434
mUI.setupUi(this);
3535

gui/mainwindow.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
#endif
4242

4343
MainWindow::MainWindow() :
44-
mSettings(new QSettings("Cppcheck", "Cppcheck-GUI", this)),
45-
mApplications(new ApplicationList(this)),
46-
mTranslation(new TranslationHandler(this)),
47-
mLanguages(new QActionGroup(this))
44+
mSettings(new QSettings("Cppcheck", "Cppcheck-GUI", this)),
45+
mApplications(new ApplicationList(this)),
46+
mTranslation(new TranslationHandler(this)),
47+
mLanguages(new QActionGroup(this))
4848
{
4949
mUI.setupUi(this);
5050
mUI.mResults->Initialize(mSettings, mApplications);

gui/projectfile.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ static const char DirElementName[] = "dir";
3131
static const char DirNameAttrib[] = "name";
3232

3333
ProjectFile::ProjectFile(QObject *parent) :
34-
QObject(parent)
34+
QObject(parent)
3535
{
3636
}
3737

3838
ProjectFile::ProjectFile(const QString &filename, QObject *parent) :
39-
QObject(parent),
40-
mFilename(filename)
39+
QObject(parent),
40+
mFilename(filename)
4141
{
4242
}
4343

0 commit comments

Comments
 (0)