Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Kanagram
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Education
Kanagram
Commits
b6c90157
Commit
b6c90157
authored
Jun 25, 2016
by
David Faure
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add_definitions(-DQT_NO_URL_CAST_FROM_STRING) + fix compilation
parent
9c2e9f7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
CMakeLists.txt
+1
-0
src/kanagramgame.cpp
src/kanagramgame.cpp
+2
-2
No files found.
CMakeLists.txt
View file @
b6c90157
...
...
@@ -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
)
...
...
src/kanagramgame.cpp
View file @
b6c90157
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment