refactor: remove unused strings
This commit is contained in:
@ -108,9 +108,6 @@ int VersionChecker::compareVersions(const QString &left, const QString &right)
|
||||
QStringList leftParts = left.split("-");
|
||||
QStringList rightParts = right.split("-");
|
||||
|
||||
QString leftNumber = leftParts.at(0);
|
||||
QString rightNumber = rightParts.at(0);
|
||||
|
||||
QStringList leftNumberParts = left.split(".");
|
||||
QStringList rightNumberParts = right.split(".");
|
||||
|
||||
|
||||
@ -69,7 +69,6 @@ void ClientConnection::showMessage(const QString &logLine)
|
||||
emit messageShowing();
|
||||
|
||||
const auto address = m_appConfig.serverHostname();
|
||||
auto message = QString("<p>The connection to server '%1' didn't work.</p>").arg(address);
|
||||
|
||||
if (logLine.contains("server already has a connected client with our name")) {
|
||||
m_deps->showError(m_pParent, AlreadyConnected, address);
|
||||
|
||||
@ -645,7 +645,6 @@ bool CoreProcess::addClientArgs(QStringList &args, QString &app)
|
||||
|
||||
QString CoreProcess::persistServerConfig() const
|
||||
{
|
||||
QString configFullPath;
|
||||
if (m_appConfig.useExternalConfig()) {
|
||||
return m_appConfig.configFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user