mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed GPG password freeze
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3311 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8bfc74485a
commit
ba47eedfe3
@ -45,7 +45,7 @@
|
||||
|
||||
/** Constructor */
|
||||
ChannelFeed::ChannelFeed(QWidget *parent)
|
||||
: MainPage (parent)
|
||||
: RsAutoUpdatePage(1000,parent)
|
||||
{
|
||||
/* Invoke the Qt Designer generated object setup routine */
|
||||
setupUi(this);
|
||||
@ -123,9 +123,7 @@ ChannelFeed::ChannelFeed(QWidget *parent)
|
||||
channelpushButton->setMenu(channelmenu);
|
||||
|
||||
|
||||
QTimer *timer = new QTimer(this);
|
||||
timer->connect(timer, SIGNAL(timeout()), this, SLOT(checkUpdate()));
|
||||
timer->start(1000);
|
||||
|
||||
}
|
||||
|
||||
void ChannelFeed::channelListCustomPopupMenu( QPoint point )
|
||||
@ -285,7 +283,7 @@ void ChannelFeed::selectChannel(const QModelIndex &index)
|
||||
updateChannelMsgs();
|
||||
}
|
||||
|
||||
void ChannelFeed::checkUpdate()
|
||||
void ChannelFeed::updateDisplay()
|
||||
{
|
||||
std::list<std::string> chanIds;
|
||||
std::list<std::string>::iterator it;
|
||||
|
@ -23,6 +23,8 @@
|
||||
#define _CHANNEL_FEED_DIALOG_H
|
||||
|
||||
#include "mainpage.h"
|
||||
#include "RsAutoUpdatePage.h"
|
||||
|
||||
#include "ui_ChannelFeed.h"
|
||||
|
||||
#include <QStandardItemModel>
|
||||
@ -36,7 +38,7 @@
|
||||
|
||||
class ChanMsgItem;
|
||||
|
||||
class ChannelFeed : public MainPage, public FeedHolder, private Ui::ChannelFeed
|
||||
class ChannelFeed : public RsAutoUpdatePage, public FeedHolder, private Ui::ChannelFeed
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@ -46,8 +48,11 @@ public:
|
||||
/** Default Destructor */
|
||||
|
||||
|
||||
virtual void deleteFeedItem(QWidget *item, uint32_t type);
|
||||
virtual void openChat(std::string peerId);
|
||||
virtual void deleteFeedItem(QWidget *item, uint32_t type);
|
||||
virtual void openChat(std::string peerId);
|
||||
|
||||
/* overloaded from RsAuthUpdatePage */
|
||||
virtual void updateDisplay();
|
||||
|
||||
public slots:
|
||||
|
||||
@ -57,9 +62,7 @@ public slots:
|
||||
|
||||
private slots:
|
||||
|
||||
void channelListCustomPopupMenu( QPoint point );
|
||||
|
||||
void checkUpdate();
|
||||
void channelListCustomPopupMenu( QPoint point );
|
||||
|
||||
void createChannel();
|
||||
|
||||
@ -70,10 +73,10 @@ private slots:
|
||||
|
||||
void createMsg();
|
||||
|
||||
void showChannelDetails();
|
||||
void restoreChannelKeys();
|
||||
void editChannelDetail();
|
||||
void shareKey();
|
||||
void showChannelDetails();
|
||||
void restoreChannelKeys();
|
||||
void editChannelDetail();
|
||||
void shareKey();
|
||||
|
||||
private:
|
||||
|
||||
@ -102,8 +105,8 @@ private:
|
||||
QAction* unsubscribechannelAct;
|
||||
QAction* channeldetailsAct;
|
||||
QAction* restoreKeysAct;
|
||||
QAction* editChannelDetailAct;
|
||||
QAction* shareKeyAct;
|
||||
QAction* editChannelDetailAct;
|
||||
QAction* shareKeyAct;
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user