mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
improved word skip in qtextedit
This commit is contained in:
@@ -69,6 +69,10 @@ _saveMsgStarted(0), _saveMsgOpacity(0)
|
||||
setAttribute(Qt::WA_NoSystemBackground, true);
|
||||
setAttribute(Qt::WA_TranslucentBackground, true);
|
||||
setMouseTracking(true);
|
||||
|
||||
hide();
|
||||
psUpdateOverlayed(this);
|
||||
show();
|
||||
hide();
|
||||
|
||||
connect(&_close, SIGNAL(clicked()), this, SLOT(onClose()));
|
||||
@@ -528,7 +532,7 @@ void MediaView::showPhoto(PhotoData *photo) {
|
||||
void MediaView::paintEvent(QPaintEvent *e) {
|
||||
QPainter p(this);
|
||||
QRect r(e->rect());
|
||||
|
||||
|
||||
QPainter::CompositionMode m = p.compositionMode();
|
||||
p.setCompositionMode(QPainter::CompositionMode_Source);
|
||||
|
||||
|
Reference in New Issue
Block a user