oh no the bad commit descriptions are back D:

This commit is contained in:
fourtf
2017-12-23 23:24:35 +01:00
parent a617873f6a
commit 2bf53f73f8
11 changed files with 35 additions and 41 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ int WindowManager::windowCount()
widgets::Window *WindowManager::windowAt(int index)
{
if (index < 0 || index >= this->windows.size()) {
if (index < 0 || (size_t)index >= this->windows.size()) {
return nullptr;
}
qDebug() << "getting window at bad index" << index;