summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 1c1bd63..87fbcde 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,5 +1,6 @@
#include <QtGui>
+#include "database.h"
#include "player.h"
#include "gui/mainwindow.h"
@@ -10,6 +11,12 @@ int main(int argc, char** argv) {
qapp.setStyleSheet("file:///default.qss");
+ Database* database = new Database();
+
+ Track::p t = Track::get(1);
+
+ qDebug() << t->album()->artist()->name() << " - " << t->name() << " (" << t->album()->name() << ")";
+
Player* player = new Player();
MainWindow* mainwindow = new MainWindow();