Changeset View
Changeset View
Standalone View
Standalone View
qmlUiKirigami/ImageViewer.qml
Show First 20 Lines • Show All 293 Lines • ▼ Show 20 Line(s) | 291 | ShareDialog { | |||
---|---|---|---|---|---|
294 | y: root.height - height - Kirigami.Units.gridUnit * 3 | 294 | y: root.height - height - Kirigami.Units.gridUnit * 3 | ||
295 | inputData: { urls: [] } | 295 | inputData: { urls: [] } | ||
296 | onFinished: { | 296 | onFinished: { | ||
297 | if (error==0 && output.url !== "") { | 297 | if (error==0 && output.url !== "") { | ||
298 | console.assert(output.url !== undefined); | 298 | console.assert(output.url !== undefined); | ||
299 | var resultUrl = output.url; | 299 | var resultUrl = output.url; | ||
300 | console.log("Received", resultUrl) | 300 | console.log("Received", resultUrl) | ||
301 | notificationManager.showNotification( true, resultUrl); | 301 | notificationManager.showNotification( true, resultUrl); | ||
302 | clipboard.content = resultUrl; | ||||
302 | } else { | 303 | } else { | ||
303 | notificationManager.showNotification( false); | 304 | notificationManager.showNotification( false); | ||
304 | } | 305 | } | ||
305 | } | 306 | } | ||
306 | } | 307 | } | ||
307 | } | 308 | } |