diff --git a/src/TomahawkWindow.cpp b/src/TomahawkWindow.cpp index 50ffb4486..0e0948f2c 100644 --- a/src/TomahawkWindow.cpp +++ b/src/TomahawkWindow.cpp @@ -154,8 +154,6 @@ TomahawkWindow::TomahawkWindow( QWidget* parent ) // Window must be fully constructed to toggle fullscreen mode. Queue it up. QTimer::singleShot( 0, this, SLOT( toggleFullscreen() ) ); } - QPushButton* pb = new QPushButton( "debug", this ); - connect( pb, SIGNAL(clicked()),this,SLOT(debug())); } diff --git a/src/TomahawkWindow.h b/src/TomahawkWindow.h index fa4888c1d..f48ae2dd0 100644 --- a/src/TomahawkWindow.h +++ b/src/TomahawkWindow.h @@ -34,8 +34,6 @@ #include #include #include -#include "SourceList.h" -#include "resolvers/ScriptCollection.h" #ifdef Q_OS_WIN #include #endif @@ -110,9 +108,6 @@ public slots: void fullScreenExited(); private slots: - void debug(){ - SourceList::instance()->getLocal()->addCollection( Tomahawk::collection_ptr( new Tomahawk::Collection( SourceList::instance()->getLocal(), "test" ) ) ); - } void onHistoryBackAvailable( bool avail ); void onHistoryForwardAvailable( bool avail );