mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 20:45:08 +00:00
SystemMenu: Rename PowerDialog => ShutdownDialog
This commit is contained in:
parent
e5ea243842
commit
efb3a34e43
4 changed files with 17 additions and 18 deletions
|
@ -24,7 +24,7 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "PowerDialog.h"
|
||||
#include "ShutdownDialog.h"
|
||||
#include <AK/FileSystemPath.h>
|
||||
#include <AK/QuickSort.h>
|
||||
#include <LibCore/ConfigFile.h>
|
||||
|
@ -203,7 +203,7 @@ NonnullRefPtr<GUI::Menu> build_system_menu()
|
|||
}));
|
||||
system_menu->add_separator();
|
||||
system_menu->add_action(GUI::Action::create("Exit...", [](auto&) {
|
||||
Vector<char const*> command = PowerDialog::show();
|
||||
auto command = ShutdownDialog::show();
|
||||
|
||||
if (command.size() == 0)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue