projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace {from,to}Ascii with {from,to}Latin1
[quassel.git]
/
src
/
client
/
treemodel.cpp
diff --git
a/src/client/treemodel.cpp
b/src/client/treemodel.cpp
index
e481ea8
..
c03da2b
100644
(file)
--- a/
src/client/treemodel.cpp
+++ b/
src/client/treemodel.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
2
by the Quassel Project *
+ * Copyright (C) 2005-201
4
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-304,7
+304,7
@@
QVariant PropertyMapItem::data(int column, int role) const
return toolTip(column);
case Qt::DisplayRole:
case TreeModel::SortRole: // fallthrough, since SortRole should default to DisplayRole
return toolTip(column);
case Qt::DisplayRole:
case TreeModel::SortRole: // fallthrough, since SortRole should default to DisplayRole
- return property(_propertyOrder[column].to
Ascii
());
+ return property(_propertyOrder[column].to
Latin1
());
default:
return QVariant();
}
default:
return QVariant();
}
@@
-317,7
+317,7
@@
bool PropertyMapItem::setData(int column, const QVariant &value, int role)
return false;
emit dataChanged(column);
return false;
emit dataChanged(column);
- return setProperty(_propertyOrder[column].to
Ascii
(), value);
+ return setProperty(_propertyOrder[column].to
Latin1
(), value);
}
}