From fb0de1d998456f7c9f7b1da586b411df8bd4c169 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 24 Jan 2013 18:22:55 +0100 Subject: [PATCH] Remove debug button. --- src/TomahawkWindow.cpp | 2 -- src/TomahawkWindow.h | 5 ----- 2 files changed, 7 deletions(-) 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 );