mirror-chatterino2/src/widgets/helper/InvisibleSizeGrip.cpp
nerix dc62e8248b
Add (invisible) resize handle to frameless usercards and reply threads (#4795)
* feat: add resize handle to usercards&reply threads

* Add changelog entry

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-09-17 11:27:20 +00:00

17 lines
353 B
C++

#include "widgets/helper/InvisibleSizeGrip.hpp"
namespace chatterino {
InvisibleSizeGrip::InvisibleSizeGrip(QWidget *parent)
: QSizeGrip(parent)
{
// required on Windows to prevent this from being ignored when dragging
this->setMouseTracking(true);
}
void InvisibleSizeGrip::paintEvent(QPaintEvent *event)
{
}
} // namespace chatterino