chore: cleanup, document, and test some RTL code (#5473)

This commit is contained in:
nerix
2024-07-27 13:19:26 +02:00
committed by GitHub
parent a2cbe6377d
commit ff7cc09f8b
8 changed files with 413 additions and 104 deletions
+2 -2
View File
@@ -119,9 +119,9 @@ private:
QPixmap *ensureBuffer(QPainter &painter, int width);
// variables
MessagePtr message_;
const MessagePtr message_;
MessageLayoutContainer container_;
std::unique_ptr<QPixmap> buffer_{};
std::unique_ptr<QPixmap> buffer_;
bool bufferValid_ = false;
int height_ = 0;