Skip to content

feat: default file dialog to application directory and add COCO names - #112

Merged
developer0hye merged 1 commit into
masterfrom
feat/initial-dir-app-path
Feb 16, 2026
Merged

feat: default file dialog to application directory and add COCO names#112
developer0hye merged 1 commit into
masterfrom
feat/initial-dir-app-path

Conversation

@developer0hye

Copy link
Copy Markdown
Owner

Summary

When opening the app for the first time, file dialogs defaulted to the working directory (QDir::currentPath()), which varies by OS and launch method. Now defaults to the executable's directory (QCoreApplication::applicationDirPath()), making it easier to find nearby data files.

Key Changes

  • Change initial file dialog directory from QDir::currentPath() to QCoreApplication::applicationDirPath() in open_img_dir() and open_obj_file()
  • Add Samples/coco_names.txt with all 80 COCO class names for quick testing with pre-trained models

🤖 Generated with Claude Code

When no image directory has been opened yet, file dialogs now start
at the executable's directory instead of the working directory.
This makes it easier to find nearby data when first launching.

Also adds Samples/coco_names.txt with all 80 COCO class names for
quick testing with pre-trained models.

Signed-off-by: developer0hye <developer.0hye@gmail.com>

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: developer0hye <developer.0hye@gmail.com>
@developer0hye
developer0hye merged commit 0e86e25 into master Feb 16, 2026
5 checks passed
@developer0hye
developer0hye deleted the feat/initial-dir-app-path branch February 16, 2026 11:59
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.

1 participant