mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Increased size of Get-New-Resolvers dialog.
This commit is contained in:
@@ -37,16 +37,17 @@ GetNewStuffDialog::GetNewStuffDialog( QWidget *parent, Qt::WindowFlags f )
|
|||||||
|
|
||||||
ui->listView->setMouseTracking( true );
|
ui->listView->setMouseTracking( true );
|
||||||
|
|
||||||
|
setMinimumSize( 560, 350 );
|
||||||
|
|
||||||
#ifdef Q_WS_MAC
|
#ifdef Q_WS_MAC
|
||||||
setMinimumSize( 510, 350 );
|
setMaximumSize( 560, 350 );
|
||||||
setMaximumSize( 510, 350 );
|
|
||||||
setSizeGripEnabled( false );
|
setSizeGripEnabled( false );
|
||||||
|
|
||||||
ui->listView->setAttribute( Qt::WA_MacShowFocusRect, false );
|
ui->listView->setAttribute( Qt::WA_MacShowFocusRect, false );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
GetNewStuffDialog::~GetNewStuffDialog()
|
GetNewStuffDialog::~GetNewStuffDialog()
|
||||||
{
|
{
|
||||||
delete ui;
|
delete ui;
|
||||||
|
@@ -473,6 +473,7 @@ SettingsDialog::onLastFmFinished()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
SettingsDialog::addScriptResolver()
|
SettingsDialog::addScriptResolver()
|
||||||
{
|
{
|
||||||
@@ -501,13 +502,13 @@ SettingsDialog::removeScriptResolver()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
SettingsDialog::getMoreResolvers()
|
SettingsDialog::getMoreResolvers()
|
||||||
{
|
{
|
||||||
#if defined(Q_WS_MAC) && defined(LIBATTICA_FOUND)
|
#if defined(Q_WS_MAC) && defined(LIBATTICA_FOUND)
|
||||||
GetNewStuffDialog* diag = new GetNewStuffDialog( this, Qt::Sheet );
|
GetNewStuffDialog* diag = new GetNewStuffDialog( this, Qt::Sheet );
|
||||||
connect( diag, SIGNAL( finished( int ) ), this, SLOT( getMoreResolversFinished( int ) ) );
|
connect( diag, SIGNAL( finished( int ) ), this, SLOT( getMoreResolversFinished( int ) ) );
|
||||||
|
|
||||||
diag->show();
|
diag->show();
|
||||||
#elif defined(LIBATTICA_FOUND)
|
#elif defined(LIBATTICA_FOUND)
|
||||||
GetNewStuffDialog diag( this );
|
GetNewStuffDialog diag( this );
|
||||||
@@ -517,6 +518,7 @@ SettingsDialog::getMoreResolvers()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef LIBATTICA_FOUND
|
#ifdef LIBATTICA_FOUND
|
||||||
void
|
void
|
||||||
SettingsDialog::atticaResolverInstalled( const QString& resolverId )
|
SettingsDialog::atticaResolverInstalled( const QString& resolverId )
|
||||||
@@ -524,6 +526,7 @@ SettingsDialog::atticaResolverInstalled( const QString& resolverId )
|
|||||||
m_resolversModel->atticaResolverInstalled( resolverId );
|
m_resolversModel->atticaResolverInstalled( resolverId );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
SettingsDialog::atticaResolverUninstalled ( const QString& resolverId )
|
SettingsDialog::atticaResolverUninstalled ( const QString& resolverId )
|
||||||
{
|
{
|
||||||
@@ -531,6 +534,7 @@ SettingsDialog::atticaResolverUninstalled ( const QString& resolverId )
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
SettingsDialog::scriptSelectionChanged()
|
SettingsDialog::scriptSelectionChanged()
|
||||||
{
|
{
|
||||||
@@ -544,6 +548,7 @@ SettingsDialog::scriptSelectionChanged()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
SettingsDialog::getMoreResolversFinished( int ret )
|
SettingsDialog::getMoreResolversFinished( int ret )
|
||||||
{
|
{
|
||||||
@@ -574,7 +579,6 @@ SettingsDialog::openResolverConfig( const QString& resolver )
|
|||||||
|
|
||||||
dialog->show();
|
dialog->show();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -695,7 +699,8 @@ SettingsDialog::sipFactoryClicked( SipPluginFactory* factory )
|
|||||||
|
|
||||||
handleSipPluginAdded( p, added );
|
handleSipPluginAdded( p, added );
|
||||||
#endif
|
#endif
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
// no config, so just add it
|
// no config, so just add it
|
||||||
added = true;
|
added = true;
|
||||||
|
Reference in New Issue
Block a user