Commit 5d58fef9 authored by patrick pereira's avatar patrick pereira 🏃
Browse files

main: Use clang-format


Signed-off-by: patrick pereira's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent b5623855
......@@ -20,20 +20,20 @@
**
****************************************************************************/
#include <app/minuet_version.h>
#include "core.h"
#include <app/minuet_version.h>
#if !defined(Q_OS_ANDROID)
#include <KCrash>
#include <KAboutData>
#include <KCrash>
#include <KLocalizedString>
#endif
#include <QIcon>
#include <QFile>
#include <QGuiApplication>
#include <QCommandLineParser>
#include <QDir>
#include <QFile>
#include <QGuiApplication>
#include <QIcon>
#include <QDebug>
......@@ -47,12 +47,7 @@ int main(int argc, char *argv[])
KLocalizedString::setApplicationDomain("minuet");
KAboutData aboutData( QStringLiteral("minuet"),
i18n("Minuet"),
QStringLiteral(MINUET_VERSION_STRING),
i18n("A KDE application for music education"),
KAboutLicense::GPL,
i18n("(c) 2016, Sandro S. Andrade (sandroandrade@kde.org)"));
KAboutData aboutData(QStringLiteral("minuet"), i18n("Minuet"), QStringLiteral(MINUET_VERSION_STRING), i18n("A KDE application for music education"), KAboutLicense::GPL, i18n("(c) 2016, Sandro S. Andrade (sandroandrade@kde.org)"));
aboutData.addAuthor("Sandro S. Andrade", i18n("Developer"), QStringLiteral("sandroandrade@kde.org"));
aboutData.addAuthor("Ayush Shah", i18n("Developer"), QStringLiteral("1595ayush@gmail.com"));
aboutData.addAuthor("Alessandro Longo", i18n("Minuet Icon Designer"), QStringLiteral("alessandro.longo@kdemail.net"));
......@@ -75,8 +70,8 @@ int main(int argc, char *argv[])
#if defined(Q_OS_ANDROID)
if (!QFile("/data/data/org.kde.minuet/files/sf_GMbank.sf2").exists()) {
if(QFile("assets:/share/sf_GMbank.sf2").copy("/data/data/org.kde.minuet/files/sf_GMbank.sf2"))
qDebug() << "COPIED " << QFileInfo("/data/data/org.kde.minuet/files/sf_GMbank.sf2").size() << "b soundfound file to /data/data/org.kde.minuet/files/sf_GMbank.sf2";
if (QFile("assets:/share/sf_GMbank.sf2").copy("/data/data/org.kde.minuet/files/sf_GMbank.sf2"))
qDebug() << "COPIED " << QFileInfo("/data/data/org.kde.minuet/files/sf_GMbank.sf2").size() << "b soundfound file to /data/data/org.kde.minuet/files/sf_GMbank.sf2";
}
#endif
Minuet::Core::initialize();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment