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
KSysGuard
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
3
Merge Requests
3
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
Plasma
KSysGuard
Commits
08ae30f7
Commit
08ae30f7
authored
Nov 09, 2017
by
Harald Sitter
🕵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warning comparing uint to int
parent
26688b25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gui/SensorDisplayLib/ListView.cpp
gui/SensorDisplayLib/ListView.cpp
+2
-2
No files found.
gui/SensorDisplayLib/ListView.cpp
View file @
08ae30f7
...
...
@@ -8,7 +8,7 @@
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
...
...
@@ -307,7 +307,7 @@ ListView::answerReceived(int id, const QList<QByteArray>& answer)
case
19
:
{
for
(
int
i
=
0
;
i
<
answer
.
count
();
i
++
)
{
KSGRD
::
SensorTokenizer
records
(
answer
[
i
],
'\t'
);
for
(
int
j
=
0
;
j
<
records
.
count
()
&&
j
<
mColumnTypes
.
count
();
j
++
)
{
for
(
uint
j
=
0
;
j
<
records
.
count
()
&&
j
<
(
uint
)
mColumnTypes
.
count
();
j
++
)
{
QStandardItem
*
item
=
new
QStandardItem
();
item
->
setEditable
(
false
);
switch
(
mColumnTypes
[
j
]
)
{
...
...
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