mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
* Disable Facebook / Twitter button for 0.5 release. Renamed OK to Share.
This commit is contained in:
@@ -56,6 +56,8 @@ SocialWidget::SocialWidget( QWidget* parent )
|
|||||||
|
|
||||||
ui->charsLeftLabel->setForegroundRole( QPalette::HighlightedText );
|
ui->charsLeftLabel->setForegroundRole( QPalette::HighlightedText );
|
||||||
|
|
||||||
|
ui->buttonBox->button( QDialogButtonBox::Ok )->setText( tr( "Share" ) );
|
||||||
|
|
||||||
m_parent->installEventFilter( this );
|
m_parent->installEventFilter( this );
|
||||||
|
|
||||||
connect( ui->buttonBox, SIGNAL( accepted() ), SLOT( accept() ) );
|
connect( ui->buttonBox, SIGNAL( accepted() ), SLOT( accept() ) );
|
||||||
@@ -66,6 +68,10 @@ SocialWidget::SocialWidget( QWidget* parent )
|
|||||||
connect( GlobalActionManager::instance(), SIGNAL( shortLinkReady( QUrl, QUrl, QVariant ) ), SLOT( onShortLinkReady( QUrl, QUrl, QVariant ) ) );
|
connect( GlobalActionManager::instance(), SIGNAL( shortLinkReady( QUrl, QUrl, QVariant ) ), SLOT( onShortLinkReady( QUrl, QUrl, QVariant ) ) );
|
||||||
|
|
||||||
onChanged();
|
onChanged();
|
||||||
|
|
||||||
|
ui->twitterButton->setChecked( true );
|
||||||
|
ui->twitterButton->setVisible( false );
|
||||||
|
ui->facebookButton->setVisible( false );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user