From 0325932e429b5fb052c7e697c4ada8511154b0a0 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 20 Jan 2020 20:55:05 -0500 Subject: Fixed stuff, added ALP logo and added .desktop --- ALP.svg | 131 +++++++++++++++++++++++++++++++++++++++++++++++++++++ AleePlayer.desktop | 7 +++ AleePlayer.pro | 4 +- main.cpp | 4 +- player.cpp | 3 +- 5 files changed, 143 insertions(+), 6 deletions(-) create mode 100644 ALP.svg create mode 100644 AleePlayer.desktop diff --git a/ALP.svg b/ALP.svg new file mode 100644 index 0000000..11a8a9d --- /dev/null +++ b/ALP.svg @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/AleePlayer.desktop b/AleePlayer.desktop new file mode 100644 index 0000000..7367d8e --- /dev/null +++ b/AleePlayer.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=AleePlayer +Comment=Music Player by Alee Productions +Exec=AleePlayer +Icon=ALP.png +Categories=Audio; diff --git a/AleePlayer.pro b/AleePlayer.pro index 1e93944..b40e961 100644 --- a/AleePlayer.pro +++ b/AleePlayer.pro @@ -1,5 +1,4 @@ -QT += core gui -QT += multimedia +QT += core gui multimedia greaterThan(QT_MAJOR_VERSION, 4): QT += widgets @@ -32,6 +31,7 @@ FORMS += \ TRANSLATIONS += \ AleePlayer_en_CA.ts + # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin diff --git a/main.cpp b/main.cpp index 2797bd5..85f57aa 100644 --- a/main.cpp +++ b/main.cpp @@ -1,12 +1,12 @@ -#include #include "player.h" #include +#include #include int main(int argc, char *argv[]) { - std::cout << "AleePlayer: A music player by Alee Productions. Licensed with GPL-3.0\n"; + qInfo() << "AleePlayer: A music player by Alee Productions. Licensed with GPL-3.0\n"; QApplication a(argc, argv); Player musicPlayer; musicPlayer.show(); diff --git a/player.cpp b/player.cpp index c1fa2ec..b1a13ed 100644 --- a/player.cpp +++ b/player.cpp @@ -1,4 +1,3 @@ -#include #include "player.h" #include "ui_player.h" #include "about.h" @@ -17,7 +16,7 @@ Player::Player(QWidget *parent) Player::~Player() { - std::cout << "Closing AleePlayer...\n"; + qInfo() << "Closing AleePlayer...\n"; mPlayer->deleteLater(); delete ui; } -- cgit v1.2.3