Skip to content

Conversation

davidgood
Copy link

Change grabScreenDBusKde to use Screenshot2 interface.

@jahnf
Copy link
Owner

jahnf commented Dec 30, 2024

Hi @davidgood thank you very much for the contribution. I'll have a look. And find my KDE VM (or setup a new one) to check out the change.

// Create a temporary file to receive the screenshot data
QTemporaryFile tempFile;
if (!tempFile.open()) {
qDebug() << "Failed to create temporary file";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and other locations: Please use logWarning(desktop) and logError(deskop) within this file.
(and additionally tr for strings that should be translatable)
e.g.

logError(desktop) << tr("Failed to create temporary file");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants