Fix CI builds

This commit is contained in:
Konstantinos Sideris 2018-03-13 08:53:32 +02:00
parent 4659d0efc2
commit 1b5e18cb1a
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ build:
verbosity: minimal
install:
- set QT_DIR=C:\Qt\5.10.0\msvc2015_64
- set QT_DIR=C:\Qt\5.10.1\msvc2015_64
- set PATH=%PATH%;%QT_DIR%\bin;C:\MinGW\bin
build_script:
@ -45,7 +45,7 @@ after_build:
- echo %BUILD%
- mkdir NhekoRelease
- copy build\Release\nheko.exe NhekoRelease\nheko.exe
- windeployqt --qmldir C:\Qt\5.10.0\msvc2015_64\qml\ --release NhekoRelease\nheko.exe
- windeployqt --qmldir C:\Qt\5.10.1\msvc2015_64\qml\ --release NhekoRelease\nheko.exe
- copy C:\OpenSSL-Win64\bin\ssleay32.dll .\NhekoRelease\ssleay32.dll
- copy C:\OpenSSL-Win64\bin\libeay32.dll .\NhekoRelease\libeay32.dll
- copy C:\OpenSSL-Win64\lib\libeay32.lib .\NhekoRelease\libeay32.lib

View file

@ -51,7 +51,7 @@ ReCaptcha::ReCaptcha(const QString &server, const QString &session, QWidget *par
layout->addWidget(label);
layout->addLayout(buttonLayout);
connect(openCaptchaBtn_, &QPushButton::clicked, [server, session, this]() {
connect(openCaptchaBtn_, &QPushButton::clicked, [server, session]() {
const auto url =
QString(
"https://%1/_matrix/client/r0/auth/m.login.recaptcha/fallback/web?session=%2")