mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
liboauth is optional
This commit is contained in:
@@ -615,9 +615,11 @@ CredentialsPage::CredentialsPage(QWidget *parent, Context *context) : QScrollAre
|
||||
|
||||
void CredentialsPage::authoriseTwitter()
|
||||
{
|
||||
#ifdef GC_HAVE_LIBOAUTH
|
||||
OAuthDialog *oauthDialog = new OAuthDialog(context, OAuthDialog::TWITTER);
|
||||
oauthDialog->setWindowModality(Qt::ApplicationModal);
|
||||
oauthDialog->exec();
|
||||
#endif
|
||||
/*
|
||||
#ifdef GC_HAVE_LIBOAUTH
|
||||
int rc;
|
||||
|
||||
Reference in New Issue
Block a user