aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-lite/main.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2020-05-12 00:58:40 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2020-05-12 00:58:40 +0800
commita7407edaf81c685d4a389785a405a53a5de4b148 (patch)
treee6e4f2d85f2172c94ac83a6e8f01e1e90a78ede9 /qmidiplayer-lite/main.cpp
parent437b7b16c322a8e53ac55a5f831098494d9a7073 (diff)
downloadQMidiPlayer-a7407edaf81c685d4a389785a405a53a5de4b148.tar.xz
Format EVERYTHING.
Hopefully this will make the source code less horrendous and actually readable. The command used was: ``` astyle --suffix=none --style=allman --attach-extern-c --attach-closing-while --indent-switches --indent-after-parens --pad-oper --pad-header --unpad-paren --align-pointer=name --recursive './*.cpp,*.hpp' ```
Diffstat (limited to 'qmidiplayer-lite/main.cpp')
-rw-r--r--qmidiplayer-lite/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/qmidiplayer-lite/main.cpp b/qmidiplayer-lite/main.cpp
index 1a87b33..f0f9af6 100644
--- a/qmidiplayer-lite/main.cpp
+++ b/qmidiplayer-lite/main.cpp
@@ -5,11 +5,11 @@
int main(int argc, char *argv[])
{
- QApplication app(argc, argv);
- qmlRegisterType<CQMPCoreWrapper>("org.chrisoft.qmpcore",1,0,"CQMPCoreWrapper");
+ QApplication app(argc, argv);
+ qmlRegisterType<CQMPCoreWrapper>("org.chrisoft.qmpcore", 1, 0, "CQMPCoreWrapper");
- QQmlApplicationEngine engine;
- engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
+ QQmlApplicationEngine engine;
+ engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
- return app.exec();
+ return app.exec();
}