summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/installer.pro
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2014-11-18 15:49:27 +0100
committerKai Koehne <kai.koehne@theqtcompany.com>2014-11-18 16:21:36 +0100
commit1f411319e4bb849487a85e8ea051b94417372ff4 (patch)
tree2441e1e371beffba129d7a8e8303eeabf3ff911a /src/libs/installer/installer.pro
parent6df883de4ae674a9b351f04e74c80bfa89d5faa6 (diff)
Ask for proxy credentials in modal dialog
If a proxy requires authentication, DownloadFileTask will throw an exception of type ProxyAuthenticationRequiredException. This exception is handled in MetadataJob to first ask the user for credentials, storing them in PackageManagerProxyFactory, and then retriggering the download. Change-Id: I0d69504d3f90d503d83c7b2229bc670756fa1463 GPush-Base: 9aeb0197e58d630ef7e657bb05671d6ec7b3f5ec Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/installer.pro')
-rw-r--r--src/libs/installer/installer.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libs/installer/installer.pro b/src/libs/installer/installer.pro
index 448b4acc4..445a2a05b 100644
--- a/src/libs/installer/installer.pro
+++ b/src/libs/installer/installer.pro
@@ -122,7 +122,8 @@ HEADERS += packagemanagercore.h \
binarycontent.h \
binarylayout.h \
installercalculator.h \
- uninstallercalculator.h
+ uninstallercalculator.h \
+ proxycredentialsdialog.h
SOURCES += packagemanagercore.cpp \
packagemanagercore_p.cpp \
@@ -193,7 +194,10 @@ SOURCES += packagemanagercore.cpp \
binarycontent.cpp \
binarylayout.cpp \
installercalculator.cpp \
- uninstallercalculator.cpp
+ uninstallercalculator.cpp \
+ proxycredentialsdialog.cpp
+
+FORMS += proxycredentialsdialog.ui
RESOURCES += resources/patch_file_lists.qrc \
resources/installer.qrc