suspended hashing info, as it causes (rare) core dumps. I ll try to fix an asynchronous gui update properly.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@911 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-01-04 21:25:18 +00:00
parent 4ee6f4847f
commit 071903fd48

View File

@ -119,14 +119,18 @@
static QLabel *hash_info_label = NULL ; static QLabel *hash_info_label = NULL ;
static void displayHashingInfo(const std::string& s) static void displayHashingInfo(const std::string& s)
{ {
if(hash_info_label != NULL) return ;
if(s == "")
hash_info_label->hide() ; // I disabled this, because it's causing core dumps. I'll see what I can do.
else
{ // if(hash_info_label != NULL)
hash_info_label->show() ; // if(s == "")
hash_info_label->setText(QString::fromStdString(s)) ; // hash_info_label->hide() ;
} // else
// {
// hash_info_label->show() ;
// hash_info_label->setText(QString::fromStdString(s)) ;
// }
} }
/** Constructor */ /** Constructor */