code cleanup: refactored ugly window width/scrheight cache

This commit is contained in:
Hane 2024-05-14 19:48:11 +02:00
commit b6b7e1c577
2 changed files with 11 additions and 6 deletions

View file

@ -201,8 +201,6 @@ private:
ChannelWidget* cw;
std::vector<SessionWidget*> sessionWidgets;
QSize minimum;
uint64_t currentWidth = 1;
uint64_t currentHeight = 1;
//std::vector<EndpointHandler*> *ephs;
//std::vector<QSlider> *sliders;
@ -272,7 +270,7 @@ private:
QToolBar *mainMenuBar;
QScreen *screen;
QSpacerItem* lastRowSpacer;
friend class EndpointWidget;
//public slots:
// void setEndpointHandlers(std::vector<EndpointHandler*> *ephs);