Skip to content

fix crash with some filenames (windows)#354

Open
srirams wants to merge 2 commits into
easymodo:masterfrom
srirams:master
Open

fix crash with some filenames (windows)#354
srirams wants to merge 2 commits into
easymodo:masterfrom
srirams:master

Conversation

@srirams
Copy link
Copy Markdown
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
Copy Markdown
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