fixed layout update problem when switching channels

This commit is contained in:
csoler 2023-04-22 16:19:04 +02:00
parent 2cb8736804
commit 9d956f6126
2 changed files with 24 additions and 15 deletions

View file

@ -154,7 +154,7 @@ private slots:
void editPost();
void postContextMenu(const QPoint&);
void copyMessageLink();
void updateZoomFactor(bool zoom_or_unzoom);
void onUpdateZoomFactor(bool zoom_or_unzoom);
void switchView();
void switchOnlyUnread(bool b);
void markMessageUnread();
@ -168,7 +168,8 @@ public slots:
void copyChannelFilesLink();
private:
void processSettings(bool load);
void updateZoomFactor(int what_to_do); // -1=unzoom, 0=nothing, 1=zoom
void processSettings(bool load);
RsGxsMessageId getCurrentItemId() const;
void selectItem(const RsGxsMessageId& msg_id);