mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-10 23:30:14 -04:00
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:
parent
c0cc792300
commit
e36557d542
4 changed files with 60 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue