hyprland-qtutils/utils/update-screen/UpdateScreen.cpp

17 lines
338 B
C++
Raw Permalink Normal View History

2024-12-05 21:55:52 +01:00
#include "UpdateScreen.hpp"
2024-12-05 21:55:52 +01:00
#include <print>
2024-12-05 21:55:52 +01:00
#include <hyprutils/string/String.hpp>
#include <hyprutils/os/Process.hpp>
using namespace Hyprutils::String;
CUpdateScreen::CUpdateScreen(QObject* parent) : QObject(parent) {
;
}
void CUpdateScreen::onButtonPress(QString buttonName) {
if (buttonName == "quit")
2024-12-05 21:55:52 +01:00
exit(0);
}