mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 00:41:23 +00:00
fixed windows x64 compiling, see http://doc.trolltech.com/4.7/qtglobal.html#qptrdiff-typedef
svn path=/trunk/KDE/kdebase/apps/; revision=1216964
This commit is contained in:
parent
3740c7cafb
commit
9859dedead
|
@ -84,7 +84,7 @@ namespace domtreeviewer {
|
||||||
// collection of nodes for which to emit the nodeChanged signal
|
// collection of nodes for which to emit the nodeChanged signal
|
||||||
inline static bool operator <(const DOM::Node &n1, const DOM::Node &n2)
|
inline static bool operator <(const DOM::Node &n1, const DOM::Node &n2)
|
||||||
{
|
{
|
||||||
return (long)n1.handle() - (long)n2.handle() < 0;
|
return (qptrdiff)n1.handle() - (qptrdiff)n2.handle() < 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ChangedNodeSet : public QMap<DOM::Node, bool>
|
class ChangedNodeSet : public QMap<DOM::Node, bool>
|
||||||
|
|
Loading…
Reference in a new issue