mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
use empty to check string
This commit is contained in:
@@ -96,7 +96,7 @@ int COPKGManager::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
{
|
||||
int res = menu_return::RETURN_REPAINT;
|
||||
|
||||
if (actionKey == "") {
|
||||
if (actionKey.empty()) {
|
||||
if (parent)
|
||||
parent->hide();
|
||||
return showMenu();
|
||||
|
Reference in New Issue
Block a user