Commit cb9090b4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clasy warning--

parent 7e333d22
Pipeline #61952 passed with stage
in 8 minutes and 4 seconds
......@@ -112,7 +112,7 @@ void ProcessOutputLogFileReader::startProcess()
d->mProcess = new QProcess();
connect(d->mProcess, &QProcess::readyReadStandardOutput, this, &ProcessOutputLogFileReader::logFileModified);
connect(d->mProcess, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(emitProcessOutput(int, QProcess::ExitStatus)));
connect(d->mProcess, &QProcess::finished, this, &ProcessOutputLogFileReader::emitProcessOutput);
d->mProcess->start(d->logFile.url().toLocalFile(), QStringList(), QIODevice::ReadOnly | QIODevice::Text);
......
......@@ -162,6 +162,7 @@ QStringList FileListHelper::expandJoker(const QUrl &url)
QStringList foundPaths;
const QStringList files = info.dir().entryList(QStringList(filename), QDir::Files | QDir::NoSymLinks);
foundPaths.reserve(files.count());
for (const QString &file : files) {
foundPaths.append(info.dir().absoluteFilePath(file));
}
......
......@@ -89,7 +89,7 @@ ParsingHelper::ParsingHelper()
mMapHTTPResponse[QStringLiteral("408")] = QStringLiteral("Request Timeout");
mMapHTTPResponse[QStringLiteral("409")] = QStringLiteral("Conflict");
mMapHTTPResponse[QStringLiteral("410")] = QStringLiteral("Gone");
mMapHTTPResponse[QStringLiteral("411")] = QLatin1String("Length Required");
mMapHTTPResponse[QStringLiteral("411")] = QStringLiteral("Length Required");
mMapHTTPResponse[QStringLiteral("412")] = QStringLiteral("Precondition Failed");
mMapHTTPResponse[QStringLiteral("413")] = QStringLiteral("Request Entity Too Large");
mMapHTTPResponse[QStringLiteral("414")] = QStringLiteral("Request-URI Too Long");
......
......@@ -66,7 +66,7 @@ void StatusBar::changeLineCountMessage(const QString &lineCountMessage)
mLineCountLabel->setText(lineCountMessage);
}
void StatusBar::changeLastModification(const QTime &lastModification)
void StatusBar::changeLastModification(QTime lastModification)
{
// lastModificationLabel->setText(i18n("Last updated: %1.",
// KLocale::global()->formatTime(lastModification, true, false) ));
......
......@@ -42,7 +42,7 @@ public:
~StatusBar() override;
void changeLineCountMessage(const QString &lineCountMessage);
void changeLastModification(const QTime &lastModification);
void changeLastModification(QTime lastModification);
void changeMessage(const QString &message);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment