Commit 03859859 authored by Thomas Boquet's avatar Thomas Boquet
Browse files

Forgot to delete some object instances

parent 7ef18902
......@@ -46,7 +46,10 @@ ListViewController::ListViewController( StackViewController* nav ) : m_nav( nav
ListViewController::~ListViewController()
{
delete m_title;
delete m_scrollArea;
delete m_layout;
delete m_container;
}
// ViewController method implementation
......
......@@ -32,7 +32,7 @@ MediaLibraryWidget::MediaLibraryWidget( QWidget* parent ) : QWidget( parent )
MediaLibraryWidget::~MediaLibraryWidget()
{
delete m_nav;
}
const ViewController* MediaLibraryWidget::getCurrentViewController()
......
......@@ -25,12 +25,3 @@ void MediaListViewController::newMediaLoaded( Media* media )
addCell(cell);
}
void MediaListViewController::dragEnterEvent( QDragEnterEvent* event )
{
qDebug() << "Drag enter";
}
void MediaListViewController::dropEvent( QDropEvent* event )
{
qDebug() << "Drop";
}
......@@ -18,10 +18,6 @@ public:
private:
StackViewController* m_nav;
protected:
virtual void dragEnterEvent( QDragEnterEvent* event );
virtual void dropEvent( QDropEvent* event );
public slots:
void newMediaLoaded( Media* );
};
......
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