aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Scarpino <me@andreascarpino.it>2016-05-30 23:51:38 +0200
committerAndrea Scarpino <me@andreascarpino.it>2016-05-30 23:59:26 +0200
commit15699734c64c1e2359f9f1f3c74fd1f4c4e23a27 (patch)
treecc7406e66175ce7433371fc4335d5a0d8a1dcead
parentd5df4568d34487aea519ae97dd1666927dcfb62b (diff)
downloadlibquotient-15699734c64c1e2359f9f1f3c74fd1f4c4e23a27.tar.gz
libquotient-15699734c64c1e2359f9f1f3c74fd1f4c4e23a27.zip
Require Qt 5.2.0
-rw-r--r--CMakeLists.txt6
-rw-r--r--jobs/passwordlogin.cpp2
m---------kcoreaddons0
3 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0203f2dc..8b077275 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,9 +14,9 @@ set(CMAKE_AUTOMOC ON)
set( BUNDLE_KCOREADDONS "AUTO" CACHE STRING "Build own KCoreAddons, one of ON, OFF and AUTO" )
set( KCOREADDONS_DIR "kcoreaddons" CACHE STRING "Local path to bundled KCoreAddons sources, if own KCoreAddons is built" )
-find_package(Qt5Core 5.3.0) # For JSON (de)serialization
-find_package(Qt5Network 5.3.0) # For networking
-find_package(Qt5Gui 5.3.0) # For userpics
+find_package(Qt5Core 5.2.0) # For JSON (de)serialization
+find_package(Qt5Network 5.2.0) # For networking
+find_package(Qt5Gui 5.2.0) # For userpics
if ( (NOT BUNDLE_KCOREADDONS STREQUAL "ON")
AND (NOT BUNDLE_KCOREADDONS STREQUAL "OFF")
diff --git a/jobs/passwordlogin.cpp b/jobs/passwordlogin.cpp
index d989815f..d882e25c 100644
--- a/jobs/passwordlogin.cpp
+++ b/jobs/passwordlogin.cpp
@@ -74,7 +74,7 @@ QString PasswordLogin::apiPath()
QJsonObject PasswordLogin::data()
{
QJsonObject json;
- json.insert("type", "m.login.password");
+ json.insert("type", QLatin1String("m.login.password"));
json.insert("user", d->user);
json.insert("password", d->password);
return json;
diff --git a/kcoreaddons b/kcoreaddons
-Subproject f20b804c6068433ddb5e883fc13ddfc5adbd9d9
+Subproject 7ac7a605923f0bb2f0f367f6069a101a24bead9