added Specific protected timer class RsProtectedTimer to avoid passwd deadlock.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-07-10 21:11:11 +00:00
parent c0cc792300
commit e36557d542
4 changed files with 60 additions and 2 deletions

View file

@ -31,7 +31,7 @@
#include <iostream>
#include <sstream>
#include <QTimer>
#include <util/RsProtectedTimer.h>
/******
* #define ID_DEBUG 1
@ -80,7 +80,7 @@ IdDialog::IdDialog(QWidget *parent)
connect( ui.radioButton_ListPseudo, SIGNAL(toggled( bool ) ), this, SLOT(ListTypeToggled( bool ) ) );
connect( ui.radioButton_ListAll, SIGNAL(toggled( bool ) ), this, SLOT(ListTypeToggled( bool ) ) );
QTimer *timer = new QTimer(this);
QTimer *timer = new RsProtectedTimer(this);
timer->connect(timer, SIGNAL(timeout()), this, SLOT(checkUpdate()));
timer->start(1000);