mirror of
https://github.com/hyprwm/hyprland-qtutils.git
synced 2024-12-28 03:29:48 +01:00
Vaxry
b5b415a168
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.
16 lines
338 B
C++
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);
|
|
}
|