1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

Remove debug button.

This commit is contained in:
Teo Mrnjavac
2013-01-24 18:22:55 +01:00
parent db60026a64
commit fb0de1d998
2 changed files with 0 additions and 7 deletions

View File

@@ -154,8 +154,6 @@ TomahawkWindow::TomahawkWindow( QWidget* parent )
// Window must be fully constructed to toggle fullscreen mode. Queue it up. // Window must be fully constructed to toggle fullscreen mode. Queue it up.
QTimer::singleShot( 0, this, SLOT( toggleFullscreen() ) ); QTimer::singleShot( 0, this, SLOT( toggleFullscreen() ) );
} }
QPushButton* pb = new QPushButton( "debug", this );
connect( pb, SIGNAL(clicked()),this,SLOT(debug()));
} }

View File

@@ -34,8 +34,6 @@
#include <QString> #include <QString>
#include <QStackedWidget> #include <QStackedWidget>
#include <QToolButton> #include <QToolButton>
#include "SourceList.h"
#include "resolvers/ScriptCollection.h"
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <shobjidl.h> #include <shobjidl.h>
#endif #endif
@@ -110,9 +108,6 @@ public slots:
void fullScreenExited(); void fullScreenExited();
private slots: private slots:
void debug(){
SourceList::instance()->getLocal()->addCollection( Tomahawk::collection_ptr( new Tomahawk::Collection( SourceList::instance()->getLocal(), "test" ) ) );
}
void onHistoryBackAvailable( bool avail ); void onHistoryBackAvailable( bool avail );
void onHistoryForwardAvailable( bool avail ); void onHistoryForwardAvailable( bool avail );