hyprland-qtutils/utils/dialog/Dialog.cpp
2024-10-27 14:40:05 +00:00

13 lines
298 B
C++

#include "Dialog.hpp"
#include <print>
#include <hyprutils/string/String.hpp>
using namespace Hyprutils::String;
CDialog::CDialog(QObject* parent) : QObject(parent) {
;
}
void CDialog::onButtonPress(QString buttonName) {
std::print("{}\n", trim(buttonName.toStdString()));
exit(0);
}