mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-05 01:58:06 +00:00
fix compatibility fot Qt < 5.11
This commit is contained in:
@@ -83,7 +83,7 @@ QPixmap ScreenGrabber::grabEntireDesktop(bool& ok)
|
||||
QStringLiteral("org.freedesktop.portal.Screenshot"));
|
||||
|
||||
// unique token
|
||||
QString token = QUuid::createUuid().toString(QUuid::Id128);
|
||||
QString token = QUuid::createUuid().toString().remove('-').remove('{').remove('}');
|
||||
|
||||
// premake interface
|
||||
auto* request = new OrgFreedesktopPortalRequestInterface(
|
||||
|
||||
Reference in New Issue
Block a user