From 63b51f57921ee3cc80e60f9876ca81458a5d3266 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 13 Feb 2010 22:14:06 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/SharedFilesDialog.ui | 2 +- retroshare-gui/src/gui/TurtleRouterDialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/SharedFilesDialog.ui b/retroshare-gui/src/gui/SharedFilesDialog.ui index bf610ad1f..cea51a1e3 100644 --- a/retroshare-gui/src/gui/SharedFilesDialog.ui +++ b/retroshare-gui/src/gui/SharedFilesDialog.ui @@ -669,7 +669,7 @@ p, li { white-space: pre-wrap; } - Always + All diff --git a/retroshare-gui/src/gui/TurtleRouterDialog.cpp b/retroshare-gui/src/gui/TurtleRouterDialog.cpp index f6ccc6eda..6add5ba0d 100644 --- a/retroshare-gui/src/gui/TurtleRouterDialog.cpp +++ b/retroshare-gui/src/gui/TurtleRouterDialog.cpp @@ -94,7 +94,7 @@ void TurtleRouterDialog::fillTable(QTableWidget *table,const std::vectorinsertRow(i) ; for(uint j=0;jsetItem(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();irowCount();)