diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-07-25 18:36:40 -0700 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-07-26 16:32:51 +0300 |
commit | 00c0f94d8c8623aa97f3f5c44a79bd8e53c8fd94 (patch) | |
tree | fa5a5fad2bde2b0a88611fbd744a98c98cda88e4 /subsurface-mobile-main.cpp | |
parent | afe7e847d6ab550237c066a1570a7c3160b5b008 (diff) | |
download | subsurface-00c0f94d8c8623aa97f3f5c44a79bd8e53c8fd94.tar.gz |
Whitespace cleanup main/helper files
Again, entirely script based.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r-- | subsurface-mobile-main.cpp | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index 91bfd65d9..d62314e14 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -2,20 +2,20 @@ /* main.c */ #include <locale.h> #include <stdio.h> -#include <string.h> #include <stdlib.h> +#include <string.h> #include <time.h> -#include "core/qt-gui.h" -#include "core/subsurfacestartup.h" #include "core/color.h" -#include "core/qthelper.h" #include "core/downloadfromdcthread.h" +#include "core/qt-gui.h" +#include "core/qthelper.h" +#include "core/subsurfacestartup.h" -#include <QStringList> #include <QApplication> -#include <QLoggingCategory> #include <QLocale> +#include <QLoggingCategory> +#include <QStringList> #include <git2.h> // Implementation of STP logging @@ -38,11 +38,11 @@ void log_stp(const char *ident, QString *buf) stpDuration.start(); } if (ident) - stpText += QString("STP ") \ - .append(QString::number(stpDuration.elapsed())) \ - .append(" ms, ") \ - .append(ident) \ - .append("\n"); + stpText += QString("STP ") + .append(QString::number(stpDuration.elapsed())) + .append(" ms, ") + .append(ident) + .append("\n"); if (buf) { *buf += "---------- startup timer ----------\n"; *buf += stpText; @@ -115,7 +115,8 @@ int main(int argc, char **argv) return 0; } -void set_non_bt_addresses() { +void set_non_bt_addresses() +{ #if defined(Q_OS_ANDROID) connectionListModel.addAddress("FTDI"); #elif defined(Q_OS_LINUX) // since this is in the else, it does NOT include Android |