removed dependency of FriendDialog on RsAutoUpdatePage which is not needed anymore

This commit is contained in:
csoler 2019-09-22 18:13:18 +02:00
parent 9b78447109
commit cdeee0198e
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
2 changed files with 2 additions and 19 deletions

View file

@ -59,8 +59,7 @@
static FriendsDialog *instance = NULL;
/** Constructor */
FriendsDialog::FriendsDialog(QWidget *parent)
: RsAutoUpdatePage(1500,parent)
FriendsDialog::FriendsDialog(QWidget *parent) : MainPage(parent)
{
/* Invoke the Qt Designer generated object setup routine */
ui.setupUi(this);
@ -192,11 +191,6 @@ void FriendsDialog::processSettings(bool bLoad)
Settings->endGroup();
}
void FriendsDialog::showEvent(QShowEvent *event)
{
RsAutoUpdatePage::showEvent(event);
}
void FriendsDialog::chatMessageReceived(const ChatMessage &msg)
{
if(msg.chat_id.isBroadcast())
@ -226,10 +220,6 @@ void FriendsDialog::chatStatusReceived(const ChatId &chat_id, const QString &sta
}
}
void FriendsDialog::updateDisplay()
{
}
void FriendsDialog::addFriend()
{
std::string groupId = ui.friendList->getSelectedGroupId();