Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
kdevelop
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Schöps
kdevelop
Commits
fe0c4346
Commit
fe0c4346
authored
Aug 26, 2019
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use QLatin1String overload for QString::compare
GIT_SILENT
parent
dd8121b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/plasma/runner/kdevelopsessions.cpp
app/plasma/runner/kdevelopsessions.cpp
+1
-1
plugins/makebuilder/makejob.cpp
plugins/makebuilder/makejob.cpp
+1
-1
No files found.
app/plasma/runner/kdevelopsessions.cpp
View file @
fe0c4346
...
...
@@ -120,7 +120,7 @@ void KDevelopSessions::match(Plasma::RunnerContext &context)
bool
listAll
=
false
;
if
(
term
.
startsWith
(
QStringLiteral
(
"kdevelop"
),
Qt
::
CaseInsensitive
))
{
if
(
term
.
trimmed
().
compare
(
Q
StringLiteral
(
"kdevelop"
),
Qt
::
CaseInsensitive
)
==
0
)
{
if
(
term
.
trimmed
().
compare
(
Q
Latin1String
(
"kdevelop"
),
Qt
::
CaseInsensitive
)
==
0
)
{
listAll
=
true
;
term
.
clear
();
}
else
if
(
term
.
at
(
8
)
==
QLatin1Char
(
' '
)
)
{
...
...
plugins/makebuilder/makejob.cpp
View file @
fe0c4346
...
...
@@ -312,5 +312,5 @@ QString MakeJob::environmentProfile() const
bool
MakeJob
::
isNMake
(
const
QString
&
makeBin
)
{
return
!
QFileInfo
(
makeBin
).
baseName
().
compare
(
Q
StringLiteral
(
"nmake"
),
Qt
::
CaseInsensitive
);
return
!
QFileInfo
(
makeBin
).
baseName
().
compare
(
Q
Latin1String
(
"nmake"
),
Qt
::
CaseInsensitive
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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