mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-01 18:56:23 -04:00
fixed keeping new zoom size when resizing the channel post window
This commit is contained in:
parent
a04ab8664f
commit
ea346b5d2a
2 changed files with 6 additions and 0 deletions
|
@ -504,6 +504,11 @@ GxsChannelPostsWidgetWithModel::GxsChannelPostsWidgetWithModel(const RsGxsGroupI
|
|||
}, mEventHandlerId, RsEventType::GXS_CHANNELS );
|
||||
}
|
||||
|
||||
void GxsChannelPostsWidgetWithModel::resizeEvent(QResizeEvent *e)
|
||||
{
|
||||
GxsMessageFrameWidget::resizeEvent(e);
|
||||
updateZoomFactor(0);
|
||||
}
|
||||
void GxsChannelPostsWidgetWithModel::currentTabChanged(int t)
|
||||
{
|
||||
switch(t)
|
||||
|
|
|
@ -138,6 +138,7 @@ protected:
|
|||
|
||||
/* GxsMessageFrameWidget */
|
||||
virtual void setAllMessagesReadDo(bool read) override;
|
||||
virtual void resizeEvent(QResizeEvent *e) override;
|
||||
|
||||
private slots:
|
||||
void showPostDetails();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue