git-svn-id: svn://db.shs.com.ru/libs@385 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -87,7 +87,7 @@ QVariant CDItem::data(int column, int role) const {
|
||||
}
|
||||
|
||||
|
||||
QVariant CDItem::value(CDType t, int role) const {
|
||||
QVariant CDItem::value(CDType & t, int role) const {
|
||||
if (t.type() == "f") return t.toDouble();
|
||||
if (t.type() == "n") return t.toInt();
|
||||
if (t.type() == "b") return t.toBool();
|
||||
|
||||
Reference in New Issue
Block a user