summaryrefslogtreecommitdiff
path: root/src/networkaccessmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/networkaccessmanager.cpp')
-rw-r--r--src/networkaccessmanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp
index 82947c3b..f4e23fb1 100644
--- a/src/networkaccessmanager.cpp
+++ b/src/networkaccessmanager.cpp
@@ -23,7 +23,7 @@
#include "networkaccessmanager.moc"
// Local Includes
-#include "browserapplication.h"
+#include "application.h"
#include "mainwindow.h"
// Auto Includes
@@ -86,7 +86,7 @@ void NetworkAccessManager::loadSettings()
void NetworkAccessManager::authenticationRequired(QNetworkReply *reply, QAuthenticator *auth)
{
- MainWindow *mainWindow = BrowserApplication::instance()->mainWindow();
+ MainWindow *mainWindow = Application::instance()->mainWindow();
QDialog dialog(mainWindow);
dialog.setWindowFlags(Qt::Sheet);
@@ -111,7 +111,7 @@ void NetworkAccessManager::authenticationRequired(QNetworkReply *reply, QAuthent
void NetworkAccessManager::proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *auth)
{
- MainWindow *mainWindow = BrowserApplication::instance()->mainWindow();
+ MainWindow *mainWindow = Application::instance()->mainWindow();
QDialog dialog(mainWindow);
dialog.setWindowFlags(Qt::Sheet);
@@ -136,7 +136,7 @@ void NetworkAccessManager::proxyAuthenticationRequired(const QNetworkProxy &prox
#ifndef QT_NO_OPENSSL
void NetworkAccessManager::sslErrors(QNetworkReply *reply, const QList<QSslError> &error)
{
- MainWindow *mainWindow = BrowserApplication::instance()->mainWindow();
+ MainWindow *mainWindow = Application::instance()->mainWindow();
QStringList errorStrings;
for (int i = 0; i < error.count(); ++i)