chore: clean up extra empty lines

This commit is contained in:
sithlord48 2025-02-10 20:52:03 -05:00 committed by Nick Bolton
parent d093894743
commit 610786ad2e
2 changed files with 0 additions and 10 deletions

View file

@ -230,7 +230,6 @@ void MainWindow::setupControls()
// signal is emitted from the thread that owns the receiver's object. // signal is emitted from the thread that owns the receiver's object.
void MainWindow::connectSlots() void MainWindow::connectSlots()
{ {
connect(&Logger::instance(), &Logger::newLine, this, &MainWindow::handleLogLine); connect(&Logger::instance(), &Logger::newLine, this, &MainWindow::handleLogLine);
connect(this, &MainWindow::shown, this, &MainWindow::firstShown, Qt::QueuedConnection); connect(this, &MainWindow::shown, this, &MainWindow::firstShown, Qt::QueuedConnection);
@ -238,21 +237,14 @@ void MainWindow::connectSlots()
connect(&m_configScopes, &ConfigScopes::saving, this, &MainWindow::configScopesSaving, Qt::DirectConnection); connect(&m_configScopes, &ConfigScopes::saving, this, &MainWindow::configScopesSaving, Qt::DirectConnection);
connect(&m_appConfig, &AppConfig::tlsChanged, this, &MainWindow::appConfigTlsChanged); connect(&m_appConfig, &AppConfig::tlsChanged, this, &MainWindow::appConfigTlsChanged);
connect(&m_appConfig, &AppConfig::screenNameChanged, this, &MainWindow::appConfigScreenNameChanged); connect(&m_appConfig, &AppConfig::screenNameChanged, this, &MainWindow::appConfigScreenNameChanged);
connect(&m_appConfig, &AppConfig::invertConnectionChanged, this, &MainWindow::appConfigInvertConnection); connect(&m_appConfig, &AppConfig::invertConnectionChanged, this, &MainWindow::appConfigInvertConnection);
connect(&m_coreProcess, &CoreProcess::starting, this, &MainWindow::coreProcessStarting, Qt::DirectConnection); connect(&m_coreProcess, &CoreProcess::starting, this, &MainWindow::coreProcessStarting, Qt::DirectConnection);
connect(&m_coreProcess, &CoreProcess::error, this, &MainWindow::coreProcessError); connect(&m_coreProcess, &CoreProcess::error, this, &MainWindow::coreProcessError);
connect(&m_coreProcess, &CoreProcess::logLine, this, &MainWindow::handleLogLine); connect(&m_coreProcess, &CoreProcess::logLine, this, &MainWindow::handleLogLine);
connect(&m_coreProcess, &CoreProcess::processStateChanged, this, &MainWindow::coreProcessStateChanged); connect(&m_coreProcess, &CoreProcess::processStateChanged, this, &MainWindow::coreProcessStateChanged);
connect(&m_coreProcess, &CoreProcess::connectionStateChanged, this, &MainWindow::coreConnectionStateChanged); connect(&m_coreProcess, &CoreProcess::connectionStateChanged, this, &MainWindow::coreConnectionStateChanged);
connect(&m_coreProcess, &CoreProcess::secureSocket, this, &MainWindow::coreProcessSecureSocket); connect(&m_coreProcess, &CoreProcess::secureSocket, this, &MainWindow::coreProcessSecureSocket);
connect(m_actionAbout, &QAction::triggered, this, &MainWindow::openAboutDialog); connect(m_actionAbout, &QAction::triggered, this, &MainWindow::openAboutDialog);

View file

@ -40,7 +40,6 @@ void raiseCriticalDialog()
void showErrorDialog(const QString &message, const QString &fileLine, QtMsgType type) void showErrorDialog(const QString &message, const QString &fileLine, QtMsgType type)
{ {
auto title = type == QtFatalMsg ? "Fatal error" : "Critical error"; auto title = type == QtFatalMsg ? "Fatal error" : "Critical error";
QString text; QString text;
if (type == QtFatalMsg) { if (type == QtFatalMsg) {
@ -96,7 +95,6 @@ QString fileLine(const QMessageLogContext &context)
void messageHandler(QtMsgType type, const QMessageLogContext &context, const QString &message) void messageHandler(QtMsgType type, const QMessageLogContext &context, const QString &message)
{ {
const auto fileLine = messages::fileLine(context); const auto fileLine = messages::fileLine(context);
Logger::instance().handleMessage(type, fileLine, message); Logger::instance().handleMessage(type, fileLine, message);