From e7b6a7cbddec32d300a1f758281c717402525053 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sat, 3 Jan 2015 12:34:26 +0100 Subject: - bugfix: no exec info returned for .exe - bugfix: wide string conversion functions seem to have failed for empty string --- src/executableslist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/executableslist.cpp') diff --git a/src/executableslist.cpp b/src/executableslist.cpp index cc942012..a526a9b7 100644 --- a/src/executableslist.cpp +++ b/src/executableslist.cpp @@ -196,7 +196,7 @@ void ExecutablesList::addExecutable(const QString &title, const QString &executa newExe.m_SteamAppID = steamAppID; newExe.m_Custom = true; newExe.m_Toolbar = toolbar; - if ((pos < 0) || (pos >= m_Executables.size())) { + if ((pos < 0) || (pos >= static_cast(m_Executables.size()))) { m_Executables.push_back(newExe); } else { m_Executables.insert(m_Executables.begin() + pos, newExe); -- cgit v1.3.1