Compare commits

...

1 Commits

Author SHA1 Message Date
Xavier Del Campo Romero 84ca6d4b37
Try QScroller::grabGesture 2023-08-01 09:28:17 +02:00
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@
#include <QGraphicsPixmapItem>
#include <QGraphicsTextItem>
#include <QRegularExpression>
#include <QScroller>
#include <iconv.h>
BrowserTab::BrowserTab(MainWindow *mainWindow) : QWidget(nullptr),
@ -64,6 +65,7 @@ BrowserTab::BrowserTab(MainWindow *mainWindow) : QWidget(nullptr),
graphics_scene()
{
ui->setupUi(this);
QScroller::grabGesture(this, QScroller::TouchGesture);
connect( // connect with "this" as context, so the connection will die when the window is destroyed
kristall::globals().localization.get(), &Localization::translationChanged,