Format code using clang-format

This commit is contained in:
Luis Ángel San Martín
2019-05-30 19:46:37 +02:00
parent e0eb94e3ae
commit e3ec56aa43
356 changed files with 19824 additions and 21874 deletions

View File

@ -1,6 +1,5 @@
#include "yacreader_global.h"
using namespace YACReader;
QString YACReader::getSettingsPath()
@ -8,14 +7,13 @@ QString YACReader::getSettingsPath()
#if QT_VERSION >= 0x050000
return QStandardPaths::writableLocation(QStandardPaths::DataLocation);
#else
return QDesktopServices::storageLocation(QDesktopServices::DataLocation);
return QDesktopServices::storageLocation(QDesktopServices::DataLocation);
#endif
}
QString YACReader::colorToName(LabelColors colors)
{
switch(colors){
switch (colors) {
case YRed:
return "red";
case YOrange: