Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 353 Bytes
#include "launcher.h"
#include "ui_launcher.h"
#include <iostream>
Launcher::Launcher(QWidget *parent)
: QDialog(parent), ui(new Ui::Launcher)
{
ui->setupUi(this);
}
Launcher::~Launcher()
{
delete ui;
}
void Launcher::accept()
{
std::cout << qPrintable(ui->lstBrowsers->currentItem()->text()) << std::endl;
QDialog::accept();
}