mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
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:
parent
fbd46c062e
commit
c3f8af66e5
@ -115,6 +115,11 @@ MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
|
||||
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 */
|
||||
ui.messengertreeWidget->header()->hide();
|
||||
|
||||
@ -471,9 +476,9 @@ void MessengerWindow::insertPeers()
|
||||
|
||||
if((it->id == *cont_it) && (rsPeers->isOnline(*cont_it))){
|
||||
|
||||
std::string status;
|
||||
rsStatus->getStatusString(it->status, status);
|
||||
gpg_item -> setText(1, QString::fromStdString(status));
|
||||
std::string status;
|
||||
rsStatus->getStatusString(it->status, status);
|
||||
gpg_item -> setText(1, QString::fromStdString(status));
|
||||
|
||||
unsigned char *data = NULL;
|
||||
int size = 0 ;
|
||||
|
Loading…
Reference in New Issue
Block a user