Fix -Wsign-compare
This commit is contained in:
parent
a55ea51092
commit
2f010926d5
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue