Fix -Wsign-compare

This commit is contained in:
Vlad Zagorodniy 2019-09-01 00:42:59 +03:00
parent a55ea51092
commit 2f010926d5

View file

@ -255,7 +255,7 @@ void VirtualDesktopManager::setRootInfo(NETRootInfo *info)
QString VirtualDesktopManager::name(uint desktop) const
{
if (m_desktops.length() > desktop - 1) {
if (uint(m_desktops.length()) > desktop - 1) {
return m_desktops[desktop - 1]->name();
}