Remove only BlackBerry dependency to allow for other platform builds

This commit is contained in:
Morgan McMillian 2018-05-20 08:56:04 -07:00
parent fa8980dbd8
commit 6fb194051a

View file

@ -25,7 +25,6 @@
#include "kqoauthmanager.h"
#include "kqoauthmanager_p.h"
#include "bps/navigator.h"
////////////// Private d_ptr implementation ////////////////
@ -464,7 +463,6 @@ void KQOAuthManager::getOauth2UserAuthorization(QUrl authorizationEndpoint, QStr
}
}
qDebug() << openWebPageUrl.toString();
// navigator_invoke(openWebPageUrl.toString().toStdString().c_str(),0);
emit openBrowser(openWebPageUrl);
}
@ -500,7 +498,6 @@ void KQOAuthManager::getUserAuthorization(QUrl authorizationEndpoint) {
// Open the user's default browser to the resource authorization page provided
// by the service.
// navigator_invoke(openWebPageUrl.toString().toStdString().c_str(),0);
emit openBrowser(openWebPageUrl);
}
}