mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
use empty() instead of size()
This commit is contained in:
@@ -318,7 +318,7 @@ int CNFSUmountGui::menu()
|
||||
umountMenu.addItem(forwarder);
|
||||
}
|
||||
}
|
||||
if(infos.size() > 0)
|
||||
if( !infos.empty() )
|
||||
return umountMenu.exec(this,"");
|
||||
else
|
||||
return menu_return::RETURN_REPAINT;
|
||||
|
Reference in New Issue
Block a user