Permalink
Browse files

fix bug in waterfall

  • Loading branch information...
iptton committed May 16, 2012
1 parent 27a9638 commit 5d0a61e217f493b65c5b1b4919abf4b705bb8359
Showing with 2 additions and 1 deletion.
  1. +2 −1 waterfallwindow.cpp
View
@@ -39,7 +39,7 @@ void WaterfallWindow::setPipeData(QList<RyPipeData_ptr> list){
<< ", host:\"" << p->host << "\""
<< ", url:\"" << p->fullUrl << "\""
<< ", method:\"" << p->method << "\""
- << ", status:" << p->responseStatus
+ << ", status:\"" << p->responseStatus+"\""
<< ", startTime:" << p->performances.requestBegin
<< ", responseStartTime:" << p->performances.responseBegin
<< ", responseFinishTime:" << p->performances.responseDone
@@ -52,6 +52,7 @@ void WaterfallWindow::setPipeData(QList<RyPipeData_ptr> list){
//invoke js update method
QWebFrame *frame = ui->webView->page()->mainFrame();
QString args = "[" + results.join(",") + "]";
+ qDebug()<<args;
frame->evaluateJavaScript("window.updateAllConnections(" + args + ")");
}
}

0 comments on commit 5d0a61e

Please sign in to comment.