mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
Add more Window Titles
This commit is contained in:
parent
851593d5df
commit
63d6006d59
3 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,8 @@ ManualHostDialog::ManualHostDialog(Settings *settings, int id, QWidget *parent)
|
|||
this->settings = settings;
|
||||
host_id = id;
|
||||
|
||||
setWindowTitle(tr("Add Manual Console"));
|
||||
|
||||
ManualHost host;
|
||||
if(id >= 0 && settings->GetManualHostExists(id))
|
||||
host = settings->GetManualHost(id);
|
||||
|
|
|
@ -36,6 +36,8 @@ SettingsDialog::SettingsDialog(Settings *settings, QWidget *parent) : QDialog(pa
|
|||
{
|
||||
this->settings = settings;
|
||||
|
||||
setWindowTitle(tr("Settings"));
|
||||
|
||||
auto layout = new QVBoxLayout(this);
|
||||
setLayout(layout);
|
||||
|
||||
|
|
|
@ -21,11 +21,13 @@
|
|||
|
||||
#include <QLabel>
|
||||
#include <QMessageBox>
|
||||
#include <QCoreApplication>
|
||||
|
||||
StreamWindow::StreamWindow(const StreamSessionConnectInfo &connect_info, QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
setWindowTitle(qApp->applicationName());
|
||||
try
|
||||
{
|
||||
session = new StreamSession(connect_info, this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue