* Minor fixes in database storage
[someplayer] / src / playerform.cpp
index 3040bb1..d6e5929 100644 (file)
@@ -1,12 +1,15 @@
 #include "playerform.h"
 #include "ui_playerform.h"
 
-PlayerForm::PlayerForm(QWidget *parent) :
+using namespace SomePlayer::DataObjects;
+
+PlayerForm::PlayerForm(Library* lib, QWidget *parent) :
+       _lib(lib),
     QWidget(parent),
     ui(new Ui::PlayerForm)
 {
     ui->setupUi(this);
-       connect(ui->pushButton, SIGNAL(clicked()), this, SLOT(_library()));
+       connect(ui->libraryButton, SIGNAL(clicked()), this, SLOT(_library()));
 }
 
 PlayerForm::~PlayerForm()