summaryrefslogtreecommitdiff
path: root/src/executableslist.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-01-03 12:34:26 +0100
committerTannin <devnull@localhost>2015-01-03 12:34:26 +0100
commite7b6a7cbddec32d300a1f758281c717402525053 (patch)
tree1f6415a5c53b05319e7035917e654f09bfee5e7a /src/executableslist.cpp
parentab925e1e7ca7c2b82c69c9db30848a025d94f75a (diff)
- bugfix: no exec info returned for .exe
- bugfix: wide string conversion functions seem to have failed for empty string
Diffstat (limited to 'src/executableslist.cpp')
-rw-r--r--src/executableslist.cpp2
1 files changed, 1 insertions, 1 deletions
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<int>(m_Executables.size()))) {
m_Executables.push_back(newExe);
} else {
m_Executables.insert(m_Executables.begin() + pos, newExe);