mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed keeping new zoom size when resizing the channel post window
This commit is contained in:
parent
a04ab8664f
commit
ea346b5d2a
@ -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…
Reference in New Issue
Block a user