Astyle formatting.
This commit is contained in:
parent
adbdb4acc3
commit
f04bdccee4
|
@ -84,7 +84,7 @@ void MainWindow::SaveSettings()
|
|||
void MainWindow::DoCheckFiles(QFileDialog::FileMode mode)
|
||||
{
|
||||
QFileDialog dialog(this);
|
||||
dialog.setDirectory(QDir(mSettings.value(tr("Check path"),"").toString()));
|
||||
dialog.setDirectory(QDir(mSettings.value(tr("Check path"), "").toString()));
|
||||
dialog.setFileMode(mode);
|
||||
|
||||
if (dialog.exec())
|
||||
|
@ -93,7 +93,7 @@ void MainWindow::DoCheckFiles(QFileDialog::FileMode mode)
|
|||
QStringList fileNames;
|
||||
QString selection;
|
||||
|
||||
foreach(selection,selected)
|
||||
foreach(selection, selected)
|
||||
{
|
||||
fileNames << RemoveUnacceptedFiles(GetFilesRecursively(selection));
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ ResultsTree::ResultsTree(QSettings &settings) :
|
|||
{
|
||||
setModel(&mModel);
|
||||
QStringList labels;
|
||||
labels << tr("severity")<<tr("Line") << tr("Message");
|
||||
labels << tr("severity") << tr("Line") << tr("Message");
|
||||
mModel.setHorizontalHeaderLabels(labels);
|
||||
|
||||
LoadSettings();
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
virtual ~SettingsDialog();
|
||||
void SaveCheckboxValues();
|
||||
protected:
|
||||
/**
|
||||
/**
|
||||
* @brief Load saved values
|
||||
* Loads dialog size and column widths.
|
||||
*
|
||||
|
@ -64,7 +64,7 @@ protected:
|
|||
*/
|
||||
void SaveCheckboxValue(QCheckBox *box, const QString &name);
|
||||
|
||||
/**
|
||||
/**
|
||||
* @brief Add a new checkbox to layout
|
||||
*
|
||||
* @param layout layout to add to
|
||||
|
|
|
@ -40,9 +40,10 @@ void ThreadHandler::SetFiles(const QStringList &files)
|
|||
{
|
||||
mResults.SetFiles(files);
|
||||
QString file;
|
||||
qDebug()<<"Files to check:";
|
||||
foreach(file,files) {
|
||||
qDebug()<<file;
|
||||
qDebug() << "Files to check:";
|
||||
foreach(file, files)
|
||||
{
|
||||
qDebug() << file;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue