debugger: revert accidentally commited changes in the dumpers

This commit is contained in:
hjk
2009-08-28 17:37:48 +02:00
parent 7cd8ba8af4
commit c7a48c67c0

View File

@@ -872,7 +872,7 @@ void QDumper::putHash(const char *name, QChar value)
endHash(); endHash();
} }
#define DUMPUNKNOWN_MESSAGE "<not in scope*>" #define DUMPUNKNOWN_MESSAGE "<not in scope>"
static void qDumpUnknown(QDumper &d, const char *why = 0) static void qDumpUnknown(QDumper &d, const char *why = 0)
{ {
//d.putItem("iname", d.iname); //d.putItem("iname", d.iname);
@@ -1311,7 +1311,6 @@ static void qDumpQFileInfo(QDumper &d)
if (d.dumpChildren) { if (d.dumpChildren) {
d.beginChildren(); d.beginChildren();
d.putHash("absolutePath", info.absolutePath()); d.putHash("absolutePath", info.absolutePath());
#if 0
d.putHash("absoluteFilePath", info.absoluteFilePath()); d.putHash("absoluteFilePath", info.absoluteFilePath());
d.putHash("canonicalPath", info.canonicalPath()); d.putHash("canonicalPath", info.canonicalPath());
d.putHash("canonicalFilePath", info.canonicalFilePath()); d.putHash("canonicalFilePath", info.canonicalFilePath());
@@ -1327,7 +1326,6 @@ static void qDumpQFileInfo(QDumper &d)
d.putHash("group", info.group()); d.putHash("group", info.group());
d.putHash("owner", info.owner()); d.putHash("owner", info.owner());
d.putHash("path", info.path()); d.putHash("path", info.path());
#endif
d.putHash("groupid", (long)info.groupId()); d.putHash("groupid", (long)info.groupId());
d.putHash("ownerid", (long)info.ownerId()); d.putHash("ownerid", (long)info.ownerId());
@@ -1355,7 +1353,6 @@ static void qDumpQFileInfo(QDumper &d)
d.endHash(); d.endHash();
//QDir absoluteDir () const //QDir absoluteDir () const
//QDir dir () const //QDir dir () const
#if 0
d.putHash("caching", info.caching()); d.putHash("caching", info.caching());
d.putHash("exists", info.exists()); d.putHash("exists", info.exists());
d.putHash("isAbsolute", info.isAbsolute()); d.putHash("isAbsolute", info.isAbsolute());
@@ -1401,7 +1398,6 @@ static void qDumpQFileInfo(QDumper &d)
d.putItem("type", NS"QDateTime"); d.putItem("type", NS"QDateTime");
d.putItem("numchild", "1"); d.putItem("numchild", "1");
d.endHash(); d.endHash();
#endif
d.endChildren(); d.endChildren();
} }