clang-format

This commit is contained in:
Luis Ángel San Martín
2021-10-18 21:56:52 +02:00
parent 78e0c522d2
commit 5aa02a19bb
190 changed files with 2286 additions and 2286 deletions

View File

@ -101,7 +101,7 @@ void ConsoleUILibraryCreator::addExistingLibrary(const QString &name, const QStr
void ConsoleUILibraryCreator::removeLibrary(const QString &name)
{
//TODO add error handling
// TODO add error handling
YACReaderLibraries yacreaderLibraries;
yacreaderLibraries.load();
if (!yacreaderLibraries.contains(name)) {

View File

@ -25,7 +25,7 @@ void LibrariesUpdater::updateIfNeeded()
if (comparation < 0) {
bool updated = DataBaseManagement::updateToCurrentVersion(path);
if (!updated) {
//TODO log error
// TODO log error
}
}
}

View File

@ -21,7 +21,7 @@
#include "QsLogDest.h"
using namespace QsLogging;
//Returns false in case of a parse error (unknown option or missing value); returns true otherwise.
// Returns false in case of a parse error (unknown option or missing value); returns true otherwise.
void logSystemAndConfig()
{
@ -94,7 +94,7 @@ int main(int argc, char **argv)
QTextStream qout(stdout);
//general help
// general help
QTranslator translator;
QString sufix = QLocale::system().name();
@ -193,7 +193,7 @@ int main(int argc, char **argv)
QSettings *settings = new QSettings(YACReader::getSettingsPath() + "/" + QCoreApplication::applicationName() + ".ini", QSettings::IniFormat);
settings->beginGroup("libraryConfig");
//server
// server
Startup *s = new Startup();
if (parser.isSet("port")) {
bool valid;
@ -212,7 +212,7 @@ int main(int argc, char **argv)
QLOG_INFO() << "Running on port" << s->getPort();
//Update libraries to new versions
// Update libraries to new versions
LibrariesUpdater updater;
updater.updateIfNeeded();
@ -222,7 +222,7 @@ int main(int argc, char **argv)
QLOG_INFO() << "YACReaderLibrary closed with exit code :" << ret;
//shutdown
// shutdown
s->stop();
delete s;
localServer->close();
@ -332,7 +332,7 @@ int main(int argc, char **argv)
delete settings;
return 0;
} else //error
} else // error
{
parser.process(app);
parser.showHelp();