diff --git a/source/common/screen.cpp b/source/common/screen.cpp index 3144dd3..d38508a 100644 --- a/source/common/screen.cpp +++ b/source/common/screen.cpp @@ -351,7 +351,7 @@ void Screen::updateNotifier() } // Muestra una notificación de texto por pantalla; -void Screen::showText(std::string text) +void Screen::showNotification(std::string text) { notify->showText(text); } diff --git a/source/common/screen.h b/source/common/screen.h index 041ab83..ca9ceb5 100644 --- a/source/common/screen.h +++ b/source/common/screen.h @@ -126,7 +126,7 @@ public: void updateNotifier(); // Muestra una notificación de texto por pantalla; - void showText(std::string text); + void showNotification(std::string text); }; #endif diff --git a/source/enter_id.cpp b/source/enter_id.cpp index 1c68e03..695f7bb 100644 --- a/source/enter_id.cpp +++ b/source/enter_id.cpp @@ -293,7 +293,7 @@ void EnterID::initOnline() jscore::init(options->online.server, options->online.port); const std::string caption = options->online.jailerID + " IS LOGGED IN"; - screen->showText(caption); + screen->showNotification(caption); if (options->console) { std::cout << caption << std::endl;