Mercurial > trustbridge
diff ui/mainwindow.cpp @ 920:e48ad80c3aca
Merged.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Thu, 21 Aug 2014 13:58:59 +0200 |
parents | e5fd2d0cf42f |
children | ca997bc0f790 |
line wrap: on
line diff
--- a/ui/mainwindow.cpp Thu Aug 21 13:58:33 2014 +0200 +++ b/ui/mainwindow.cpp Thu Aug 21 13:58:59 2014 +0200 @@ -1158,6 +1158,15 @@ unselected << mInstallList->unselectedCertificates(); unselected << mRemoveList->unselectedCertificates(); +#ifdef Q_OS_WIN + if (!is_admin() || !is_system_install()) { + QMessageBox::information(this, + tr("Installation as normal user."), + tr("TrustBridge does not have the necessary privileges to install the certificates silently.") + "\n" + + tr("Windows will explicitly ask you to verify every modification TrustBridge intends to make.")); + } +#endif + QProgressDialog *progress = new QProgressDialog(this); progress->setWindowModality(Qt::WindowModal); progress->setLabelText(tr("Installing certificates..."));