hyprland-qtutils/utils/update-screen/UpdateScreen.cpp
Vaxry b5b415a168 all: unify dialog handling
this sucks, but I don't know how to do this better tbh.

Will definitely not work if we want to have multiple dialogs at once.
2024-12-11 17:22:15 +00:00

16 lines
338 B
C++

#include "UpdateScreen.hpp"
#include <print>
#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")
exit(0);
}