notifyController -> specialWB

This commit is contained in:
2025-11-26 11:19:11 +03:00
parent f6e96e002c
commit 44b6299e59
12 changed files with 53 additions and 43 deletions

View File

@@ -1,6 +1,7 @@
#ifndef DIALOGNEWVERSION_H
#define DIALOGNEWVERSION_H
#include <QDialog>
#include <QWidget>
#include <QLineEdit>
#include <QToolTip>

View File

@@ -79,7 +79,7 @@ void VersionSelectWidget::on_createDuplicateButton_clicked()
if (selectedVersion == nullptr)
{
emit sigSendNotify(tr("Version not selected"));
emit sigSendNotify(tr("Version not selected"), this);
return;
}
@@ -95,7 +95,7 @@ void VersionSelectWidget::sendCopyEmit(QString newName)
if (selectedVersion == nullptr)
{
emit sigSendNotify(tr("Version not selected"));
emit sigSendNotify(tr("Version not selected"), this);
return;
}
@@ -107,7 +107,7 @@ void VersionSelectWidget::on_DeleteVersionButton_clicked()
{
if (selectedVersion == nullptr)
{
emit sigSendNotify(tr("Version not selected"));
emit sigSendNotify(tr("Version not selected"), this);
return;
}
@@ -118,7 +118,7 @@ void VersionSelectWidget::on_switchServerVersionButton_clicked()
{
if (selectedVersion == nullptr)
{
emit sigSendNotify(tr("Version not selected"));
emit sigSendNotify(tr("Version not selected"), this);
return;
}

View File

@@ -6,7 +6,7 @@
#include <Core/sendsystem.h>
#include <Core/versioncontainer.h>
#include <Core/notifycontroller.h>
#include <notifycontroller.h>
#include <streamingversiondata.h>
#include <dialognewversion.h>
#include <waitanimationwidget.h>
@@ -44,7 +44,7 @@ signals:
void sigSendDeleteVersion(StreamingVersionData *streaming);
void sigSendSwitchVersion(StreamingVersionData *selectVersion);
void sigSendCopyVersion(QString versionPair);
void sigSendNotify(QString message);
void sigSendNotify(QString message, QWidget *parentWidget = nullptr);
private: