Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
KSystemLog
Commits
cb9090b4
Commit
cb9090b4
authored
May 14, 2021
by
Laurent Montel
Browse files
Clasy warning--
parent
7e333d22
Pipeline
#61952
passed with stage
in 8 minutes and 4 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lib/processOutputLogFileReader.cpp
View file @
cb9090b4
...
...
@@ -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
);
...
...
src/modes/base/fileListHelper.cpp
View file @
cb9090b4
...
...
@@ -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
));
}
...
...
src/modes/base/parsingHelper.cpp
View file @
cb9090b4
...
...
@@ -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"
)]
=
Q
Latin1
String
(
"Length Required"
);
mMapHTTPResponse
[
QStringLiteral
(
"411"
)]
=
QString
Literal
(
"Length Required"
);
mMapHTTPResponse
[
QStringLiteral
(
"412"
)]
=
QStringLiteral
(
"Precondition Failed"
);
mMapHTTPResponse
[
QStringLiteral
(
"413"
)]
=
QStringLiteral
(
"Request Entity Too Large"
);
mMapHTTPResponse
[
QStringLiteral
(
"414"
)]
=
QStringLiteral
(
"Request-URI Too Long"
);
...
...
src/statusBar.cpp
View file @
cb9090b4
...
...
@@ -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) ));
...
...
src/statusBar.h
View file @
cb9090b4
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment