Add .clang-format and apply to src/ files

This commit is contained in:
Myned
2020-06-08 14:58:44 -04:00
parent 7458e9f2d5
commit 7a924438bc
18 changed files with 863 additions and 865 deletions

View File

@@ -3,14 +3,14 @@
void SceneSwitcher::on_threadPriority_currentTextChanged(const QString &text)
{
if (loading || ui->threadPriority->count() != switcher->threadPriorities.size())
if (loading ||
ui->threadPriority->count() != switcher->threadPriorities.size())
return;
lock_guard<mutex> lock(switcher->m);
for (auto p : switcher->threadPriorities) {
if (p.name == text.toUtf8()
.constData()) {
if (p.name == text.toUtf8().constData()) {
switcher->threadPriority = p.value;
break;
}