forgot to add back qtimer after experimenting with deriving rsAutoupdatepage

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2752 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2010-04-22 13:16:40 +00:00
parent fbd46c062e
commit c3f8af66e5

View File

@ -115,6 +115,11 @@ MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
connect(ui.messagelineEdit, SIGNAL(textChanged(const QString &)), this, SLOT(savestatusmessage())); connect(ui.messagelineEdit, SIGNAL(textChanged(const QString &)), this, SLOT(savestatusmessage()));
QTimer *timer = new QTimer(this);
timer->connect(timer, SIGNAL(timeout()), this, SLOT(savestatus()));
timer->start(1000); /* one second */
/* to hide the header */ /* to hide the header */
ui.messengertreeWidget->header()->hide(); ui.messengertreeWidget->header()->hide();
@ -471,9 +476,9 @@ void MessengerWindow::insertPeers()
if((it->id == *cont_it) && (rsPeers->isOnline(*cont_it))){ if((it->id == *cont_it) && (rsPeers->isOnline(*cont_it))){
std::string status; std::string status;
rsStatus->getStatusString(it->status, status); rsStatus->getStatusString(it->status, status);
gpg_item -> setText(1, QString::fromStdString(status)); gpg_item -> setText(1, QString::fromStdString(status));
unsigned char *data = NULL; unsigned char *data = NULL;
int size = 0 ; int size = 0 ;