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 crash with some filenames (windows) #354

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

srirams
Copy link
Contributor

@srirams srirams commented Oct 15, 2021

I'm having some crashes in windows with some (maybe corrupt) filenames:

like:

Chapultepec_ Ciudad de M�xico_Mexico City

this patch fixes it.

also, sometimes when scrolling fast through a lot of images, it crashes, and the second commit fixes it.

@easymodo
Copy link
Owner

easymodo commented Nov 1, 2021

Hi. Sorry for taking too long
Briefly tested this, looks like 1st commit breaks stuff on linux. Merged the 2nd one for now

zymelaii added a commit to zymelaii/qimgv that referenced this pull request Aug 29, 2023
current method to resolve path is not corret due to encoding issues,
simply using QDir/QFileInfo to replace std::filesystem and std::string.
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