mirror of
https://github.com/hyprwm/hyprland-qtutils.git
synced 2024-12-26 21:09:49 +01:00
13 lines
298 B
C++
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);
|
|
}
|