Compilation fixes for Qt 6.0 Beta 3
This commit is contained in:
parent
de3afe27c1
commit
201b59cd4c
2 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ QString Path::getDataFilePath(QString fileName)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now check the data directories (for Linux, in particular)
|
// Now check the data directories (for Linux, in particular)
|
||||||
candidatePath = QStandardPaths::locate(QStandardPaths::DataLocation, fileName);
|
candidatePath = QStandardPaths::locate(QStandardPaths::AppDataLocation, fileName);
|
||||||
if (!candidatePath.isEmpty() && QFile::exists(candidatePath)) {
|
if (!candidatePath.isEmpty() && QFile::exists(candidatePath)) {
|
||||||
qInfo() << "Found" << fileName << "at" << candidatePath;
|
qInfo() << "Found" << fileName << "at" << candidatePath;
|
||||||
return candidatePath;
|
return candidatePath;
|
||||||
|
|
|
||||||
|
|
@ -211,7 +211,7 @@ void SdlInputHandler::raiseAllKeys()
|
||||||
|
|
||||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
"Raising %d keys",
|
"Raising %d keys",
|
||||||
m_KeysDown.count());
|
(int)m_KeysDown.count());
|
||||||
|
|
||||||
for (auto keyDown : m_KeysDown) {
|
for (auto keyDown : m_KeysDown) {
|
||||||
LiSendKeyboardEvent(keyDown, KEY_ACTION_UP, 0);
|
LiSendKeyboardEvent(keyDown, KEY_ACTION_UP, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue