2
0
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:
John Preston
2015-02-19 14:30:16 +03:00
parent e6b867da57
commit ac245b174d
5 changed files with 35 additions and 3 deletions

View File

@@ -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);