From 44381c09d79ca24ac7ea993c43cc2f52a6e151fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 28 Jun 2018 23:51:26 +0200 Subject: [PATCH] NOISSUE more warnings --- api/logic/FileSystem.cpp | 2 +- application/KonamiCode.cpp | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/api/logic/FileSystem.cpp b/api/logic/FileSystem.cpp index 4b47f415..aef35375 100644 --- a/api/logic/FileSystem.cpp +++ b/api/logic/FileSystem.cpp @@ -356,7 +356,7 @@ HRESULT CreateLink(LPCSTR linkPath, LPCSTR targetPath, LPCSTR args) if (!SUCCEEDED(hres)) { - qWarning("Failed to initialize COM. Error 0x%08X", hres); + qWarning("Failed to initialize COM. Error 0x%08lX", hres); return hres; } } diff --git a/application/KonamiCode.cpp b/application/KonamiCode.cpp index 07c285bc..e313a856 100644 --- a/application/KonamiCode.cpp +++ b/application/KonamiCode.cpp @@ -6,11 +6,13 @@ namespace { const std::array konamiCode = { - Qt::Key_Up, Qt::Key_Up, - Qt::Key_Down, Qt::Key_Down, - Qt::Key_Left, Qt::Key_Right, - Qt::Key_Left, Qt::Key_Right, - Qt::Key_B, Qt::Key_A + { + Qt::Key_Up, Qt::Key_Up, + Qt::Key_Down, Qt::Key_Down, + Qt::Key_Left, Qt::Key_Right, + Qt::Key_Left, Qt::Key_Right, + Qt::Key_B, Qt::Key_A + } }; }