mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-18 01:54:25 -05: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 );
|
}, mEventHandlerId, RsEventType::GXS_CHANNELS );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GxsChannelPostsWidgetWithModel::resizeEvent(QResizeEvent *e)
|
||||||
|
{
|
||||||
|
GxsMessageFrameWidget::resizeEvent(e);
|
||||||
|
updateZoomFactor(0);
|
||||||
|
}
|
||||||
void GxsChannelPostsWidgetWithModel::currentTabChanged(int t)
|
void GxsChannelPostsWidgetWithModel::currentTabChanged(int t)
|
||||||
{
|
{
|
||||||
switch(t)
|
switch(t)
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,7 @@ protected:
|
||||||
|
|
||||||
/* GxsMessageFrameWidget */
|
/* GxsMessageFrameWidget */
|
||||||
virtual void setAllMessagesReadDo(bool read) override;
|
virtual void setAllMessagesReadDo(bool read) override;
|
||||||
|
virtual void resizeEvent(QResizeEvent *e) override;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void showPostDetails();
|
void showPostDetails();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue