NOISSUE more warnings

This commit is contained in:
Petr Mrázek 2018-06-28 23:51:26 +02:00
parent bb599abf59
commit 44381c09d7
2 changed files with 8 additions and 6 deletions

View File

@ -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;
}
}

View File

@ -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
}
};
}