mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Messenger Window linked with RsAutoupdate
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b524a4cf86
commit
d975d8bf1f
4 changed files with 35 additions and 13 deletions
|
@ -1,6 +1,7 @@
|
|||
#include <iostream>
|
||||
#include <QTimer>
|
||||
#include "RsAutoUpdatePage.h"
|
||||
#include "MessengerWindow.h"
|
||||
|
||||
RsAutoUpdatePage::RsAutoUpdatePage(int ms_update_period,QWidget *parent)
|
||||
: MainPage(parent)
|
||||
|
@ -24,8 +25,9 @@ void RsAutoUpdatePage::timerUpdate()
|
|||
//
|
||||
if(!isVisible())
|
||||
return ;
|
||||
|
||||
updateDisplay() ;
|
||||
|
||||
updateDisplay();
|
||||
MessengerWindow::getInstance()->insertPeers();
|
||||
update() ; // Qt flush
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue