Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for KDE Screenshot2 interface #231

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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