Commit b6c90157 authored by David Faure's avatar David Faure

add_definitions(-DQT_NO_URL_CAST_FROM_STRING) + fix compilation

parent 9c2e9f7a
......@@ -42,6 +42,7 @@ include_directories (${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
find_package(LibKEduVocDocument REQUIRED)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
add_subdirectory( doc )
add_subdirectory( src )
......
......@@ -249,8 +249,8 @@ void KanagramGame::nextAnagram()
// this file has no entries
m_originalWord = "";
m_hint = "";
m_picHintUrl = "";
m_audioUrl = "";
m_picHintUrl = QUrl();
m_audioUrl = QUrl();
// TODO: add some error reporting here
}
emit userAnswerChanged();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment