fixed display issues: always -> all and void string -> unknown for turtle hashes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2303 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-02-13 22:14:06 +00:00
parent 6c7ce4f3e2
commit 63b51f5792
2 changed files with 2 additions and 2 deletions

View File

@ -669,7 +669,7 @@ p, li { white-space: pre-wrap; }
<widget class="QComboBox" name="indicatorCBox"> <widget class="QComboBox" name="indicatorCBox">
<item> <item>
<property name="text"> <property name="text">
<string>Always</string> <string>All</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="images.qrc"> <iconset resource="images.qrc">

View File

@ -94,7 +94,7 @@ void TurtleRouterDialog::fillTable(QTableWidget *table,const std::vector<std::ve
table->insertRow(i) ; table->insertRow(i) ;
for(uint j=0;j<data[i].size();++j) for(uint j=0;j<data[i].size();++j)
table->setItem(i,j,new QTableWidgetItem(QString::fromStdString(data[i][j]))) ; table->setItem(i,j,new QTableWidgetItem(QString::fromStdString(data[i][j].empty()?"Unknown":data[i][j]))) ;
} }
for(uint i=data.size();i<table->rowCount();) for(uint i=data.size();i<table->rowCount();)