Permalink
Browse files

Remove debug button.

  • Loading branch information...
1 parent db60026 commit fb0de1d998456f7c9f7b1da586b411df8bd4c169 @teo teo committed Jan 24, 2013
Showing with 0 additions and 7 deletions.
  1. +0 −2 src/TomahawkWindow.cpp
  2. +0 −5 src/TomahawkWindow.h
View
2 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()));
}
View
5 src/TomahawkWindow.h
@@ -34,8 +34,6 @@
#include <QString>
#include <QStackedWidget>
#include <QToolButton>
-#include "SourceList.h"
-#include "resolvers/ScriptCollection.h"
#ifdef Q_OS_WIN
#include <shobjidl.h>
#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 );

1 comment on commit fb0de1d

@dschmidt
Tomahawk member

You could remove this and the commit introducing it ;-)

Please sign in to comment.