summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-06-28 23:51:26 +0200
committerPetr Mrázek <peterix@gmail.com>2018-06-28 23:51:26 +0200
commit44381c09d79ca24ac7ea993c43cc2f52a6e151fe (patch)
tree8d952d350ab548eb30c50a7b959180244a76f26f
parentbb599abf59a937e76b650825ba145687914a9ce8 (diff)
downloadMultiMC-44381c09d79ca24ac7ea993c43cc2f52a6e151fe.tar
MultiMC-44381c09d79ca24ac7ea993c43cc2f52a6e151fe.tar.gz
MultiMC-44381c09d79ca24ac7ea993c43cc2f52a6e151fe.tar.lz
MultiMC-44381c09d79ca24ac7ea993c43cc2f52a6e151fe.tar.xz
MultiMC-44381c09d79ca24ac7ea993c43cc2f52a6e151fe.zip
NOISSUE more warnings
-rw-r--r--api/logic/FileSystem.cpp2
-rw-r--r--application/KonamiCode.cpp12
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<Qt::Key, 10> 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
+ }
};
}