equal
deleted
inserted
replaced
80 { |
80 { |
81 if (buffer) { |
81 if (buffer) { |
82 QFile outputFile(QString(QLatin1String("qtgraphics-%0.trace")).arg(winId)); |
82 QFile outputFile(QString(QLatin1String("qtgraphics-%0.trace")).arg(winId)); |
83 if (outputFile.open(QIODevice::WriteOnly)) { |
83 if (outputFile.open(QIODevice::WriteOnly)) { |
84 QDataStream out(&outputFile); |
84 QDataStream out(&outputFile); |
|
85 out.writeBytes("qttrace", 7); |
85 out << *buffer << updates; |
86 out << *buffer << updates; |
86 } |
87 } |
87 delete buffer; |
88 delete buffer; |
88 } |
89 } |
89 } |
90 } |