Commit 3118ffec authored by David Faure's avatar David Faure

add_definitions(-DQT_NO_URL_CAST_FROM_STRING) + fix compilation

parent cbd26c4e
......@@ -31,6 +31,7 @@ include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
add_subdirectory(pics)
add_subdirectory(doc)
......
......@@ -568,7 +568,7 @@ void Game::saveGame (bool saveAs)
QUrl url;
do {
url = QFileDialog::getSaveFileUrl (m_view, QString(), m_gameURL.url(), "*.kjc");
url = QFileDialog::getSaveFileUrl (m_view, QString(), m_gameURL, "*.kjc");
if (url.isEmpty())
return;
......@@ -621,7 +621,7 @@ void Game::loadGame()
QUrl url;
do {
url = QFileDialog::getOpenFileUrl (m_view, QString(), m_gameURL.url(), "*.kjc");
url = QFileDialog::getOpenFileUrl (m_view, QString(), m_gameURL, "*.kjc");
if (url.isEmpty())
return;
KIO::StatJob* statJob = KIO::stat(url, KIO::StatJob::SourceSide, 0);
......
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