1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Don't use QSTRINGBUILDER as it may cause crashes ...

- closes #367
This commit is contained in:
nowrep 2012-04-05 11:44:01 +02:00
parent b1d0cd9228
commit 88f7086325
3 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,9 @@ win32 {
LIBS += User32.lib Ole32.lib Shell32.lib ShlWapi.lib Gdi32.lib ComCtl32.lib
}
DEFINES *= QT_NO_URL_CAST_FROM_STRING QT_USE_FAST_OPERATOR_PLUS QT_USE_FAST_CONCATENATION
DEFINES *= QT_NO_URL_CAST_FROM_STRING
# Apparently, it may cause crashes on some machines
#DEFINES *= QT_USE_QSTRINGBUILDER
##It won't compile on windows with this define. Some bug in qtsingleapp / qvector template
!win32: !CONFIG(debug, debug|release): DEFINES *= QT_NO_DEBUG_OUTPUT

View File

@ -60,7 +60,6 @@ public:
static bool isCompositionEnabled();
static QColor colorizationColor();
public slots:
static void setupJumpList();
private:

View File

@ -473,7 +473,7 @@ void NetworkManager::loadCertificates()
}
//Local Certificates
#ifdef Q_WS_WIN
QDirIterator it_(mApp->getActiveProfilPath() + "certificates", QDir::Files, QDirIterator::FollowSymlinks | QDirIterator::Subdirectories);
QDirIterator it_(mApp->currentProfilePath() + "certificates", QDir::Files, QDirIterator::FollowSymlinks | QDirIterator::Subdirectories);
while (it_.hasNext()) {
QString filePath = it_.next();
if (!filePath.endsWith(".crt")) {