Commit f665204c authored by Christian Stenger's avatar Christian Stenger Committed by The Qt Project
Browse files

Display first result as well


Change-Id: If014d72cee6e3dd9e822a36390f56754c30e3848
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 051aeb29
Branches
Tags
No related merge requests found
Showing with 2 additions and 0 deletions
......@@ -62,6 +62,8 @@ QueryMainWindow::QueryMainWindow() : ui_defaultQueries(0)
int len = queries.count();
for(int i = 0; i < len; ++i)
ui_defaultQueries->addItem(queries.at(i));
if (len > 0)
displayQuery(0);
}
//! [0]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment