mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Style clean up for TomahawkWindow.
This commit is contained in:
@@ -140,8 +140,7 @@ TomahawkWindow::TomahawkWindow( QWidget* parent )
|
||||
|
||||
if ( qApp->arguments().contains( "--debug" ) )
|
||||
{
|
||||
connect( ActionCollection::instance()->getAction( "crashNow" ), SIGNAL( triggered() ),
|
||||
this, SLOT( crashNow() ) );
|
||||
connect( ActionCollection::instance()->getAction( "crashNow" ), SIGNAL( triggered() ), SLOT( crashNow() ) );
|
||||
}
|
||||
|
||||
// set initial state
|
||||
@@ -568,6 +567,7 @@ TomahawkWindow::setupMenuBar()
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TomahawkWindow::changeEvent( QEvent* e )
|
||||
{
|
||||
@@ -895,10 +895,10 @@ TomahawkWindow::addPeerManually()
|
||||
void
|
||||
TomahawkWindow::showOfflineSources()
|
||||
{
|
||||
m_sourcetree->showOfflineSources( ActionCollection::instance()
|
||||
->getAction( "showOfflineSources" )->isChecked() );
|
||||
TomahawkSettings::instance()->setShowOfflineSources( ActionCollection::instance()
|
||||
->getAction( "showOfflineSources" )->isChecked() );
|
||||
m_sourcetree->showOfflineSources(
|
||||
ActionCollection::instance()->getAction( "showOfflineSources" )->isChecked() );
|
||||
TomahawkSettings::instance()->setShowOfflineSources(
|
||||
ActionCollection::instance()->getAction( "showOfflineSources" )->isChecked() );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user