Diff of /qt/ScintillaEditBase/ScintillaEditBase.cpp [27e23f] .. [553989] Maximize Restore

  Switch to unified view

a/qt/ScintillaEditBase/ScintillaEditBase.cpp b/qt/ScintillaEditBase/ScintillaEditBase.cpp
...
...
239
    }
239
    }
240
240
241
    emit keyPressed(event);
241
    emit keyPressed(event);
242
}
242
}
243
243
244
#ifdef Q_WS_X11
244
static int modifierTranslated(int sciModifier)
245
static int modifierTranslated(int sciModifier)
245
{
246
{
246
    switch (sciModifier) {
247
    switch (sciModifier) {
247
        case SCMOD_SHIFT:
248
        case SCMOD_SHIFT:
248
            return Qt::ShiftModifier;
249
            return Qt::ShiftModifier;
...
...
254
            return Qt::MetaModifier;
255
            return Qt::MetaModifier;
255
        default:
256
        default:
256
            return 0;
257
            return 0;
257
    }
258
    }
258
}
259
}
260
#endif
259
261
260
void ScintillaEditBase::mousePressEvent(QMouseEvent *event)
262
void ScintillaEditBase::mousePressEvent(QMouseEvent *event)
261
{
263
{
262
    Point pos = PointFromQPoint(event->pos());
264
    Point pos = PointFromQPoint(event->pos());
263
265