diff --git a/src/Gui/DownloadManager.cpp b/src/Gui/DownloadManager.cpp index 98b767d34..31defb46d 100644 --- a/src/Gui/DownloadManager.cpp +++ b/src/Gui/DownloadManager.cpp @@ -33,9 +33,6 @@ #include #include #include -#if QT_VERSION < 0x050000 -#include -#endif #if QT_VERSION >= 0x050000 #include #endif @@ -217,12 +214,6 @@ void DownloadManager::updateRow() ui->downloadsView->setRowHeight(row, item->minimumSizeHint().height()); bool remove = false; -#if QT_VERSION < 0x050000 - QWebSettings *globalSettings = QWebSettings::globalSettings(); - if (!item->downloading() - && globalSettings->testAttribute(QWebSettings::PrivateBrowsingEnabled)) - remove = true; -#endif if (item->downloadedSuccessfully() && removePolicy() == DownloadManager::SuccessFullDownload) {