OSDN Git Service
(root)
/
kde
/
kde-extraapps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd8a627
)
lokalize: fix a compiler warning
author
Ivailo Monev
<xakepa10@gmail.com>
Sun, 25 Jan 2015 20:48:36 +0000
(20:48 +0000)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sun, 25 Jan 2015 20:48:36 +0000
(20:48 +0000)
lokalize/src/tm/tmtab.cpp
patch
|
blob
|
history
diff --git
a/lokalize/src/tm/tmtab.cpp
b/lokalize/src/tm/tmtab.cpp
index
8476636
..
c5b6397
100644
(file)
--- a/
lokalize/src/tm/tmtab.cpp
+++ b/
lokalize/src/tm/tmtab.cpp
@@
-216,7
+216,7
@@
QVariant TMDBModel::data(const QModelIndex& item, int role) const
{
const QVariant& posVar=record(item.row()).value(TMDBModel::_SourceAccel+item.column());
int pos=-1;
- bool ok;
+ bool ok
= false
;
if (posVar.isValid())
pos=posVar.toInt(&ok);
if (ok && pos!=-1)