chore: clean up extra empty lines
This commit is contained in:
@ -230,7 +230,6 @@ void MainWindow::setupControls()
|
||||
// signal is emitted from the thread that owns the receiver's object.
|
||||
void MainWindow::connectSlots()
|
||||
{
|
||||
|
||||
connect(&Logger::instance(), &Logger::newLine, this, &MainWindow::handleLogLine);
|
||||
|
||||
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_appConfig, &AppConfig::tlsChanged, this, &MainWindow::appConfigTlsChanged);
|
||||
|
||||
connect(&m_appConfig, &AppConfig::screenNameChanged, this, &MainWindow::appConfigScreenNameChanged);
|
||||
|
||||
connect(&m_appConfig, &AppConfig::invertConnectionChanged, this, &MainWindow::appConfigInvertConnection);
|
||||
|
||||
connect(&m_coreProcess, &CoreProcess::starting, this, &MainWindow::coreProcessStarting, Qt::DirectConnection);
|
||||
|
||||
connect(&m_coreProcess, &CoreProcess::error, this, &MainWindow::coreProcessError);
|
||||
|
||||
connect(&m_coreProcess, &CoreProcess::logLine, this, &MainWindow::handleLogLine);
|
||||
|
||||
connect(&m_coreProcess, &CoreProcess::processStateChanged, this, &MainWindow::coreProcessStateChanged);
|
||||
|
||||
connect(&m_coreProcess, &CoreProcess::connectionStateChanged, this, &MainWindow::coreConnectionStateChanged);
|
||||
|
||||
connect(&m_coreProcess, &CoreProcess::secureSocket, this, &MainWindow::coreProcessSecureSocket);
|
||||
|
||||
connect(m_actionAbout, &QAction::triggered, this, &MainWindow::openAboutDialog);
|
||||
|
||||
@ -40,7 +40,6 @@ void raiseCriticalDialog()
|
||||
|
||||
void showErrorDialog(const QString &message, const QString &fileLine, QtMsgType type)
|
||||
{
|
||||
|
||||
auto title = type == QtFatalMsg ? "Fatal error" : "Critical error";
|
||||
QString text;
|
||||
if (type == QtFatalMsg) {
|
||||
@ -96,7 +95,6 @@ QString fileLine(const QMessageLogContext &context)
|
||||
|
||||
void messageHandler(QtMsgType type, const QMessageLogContext &context, const QString &message)
|
||||
{
|
||||
|
||||
const auto fileLine = messages::fileLine(context);
|
||||
Logger::instance().handleMessage(type, fileLine, message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user