Skip to content

Add QTermWidget::addCustomKeyboardLayoutDir #591

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

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

Conversation

KangLin
Copy link

@KangLin KangLin commented Jul 2, 2025

Add

  • QTermWidget::addCustomKeyboardLayoutDir(const QString& custom_dir)
  • void add_custom_color_scheme_dir(const QString& custom_dir)

@KangLin KangLin force-pushed the keyboardlayout branch 4 times, most recently from da72344 to e9e5d07 Compare July 2, 2025 03:46
- QTermWidget::addCustomKeyboardLayoutDir(const QString& custom_dir)
- void add_custom_color_scheme_dir(const QString& custom_dir)
k = QCoreApplication::applicationDirPath()
+ QDir::separator() + QLatin1String("..")
+ QDir::separator() + QLatin1String("share")
+ QDir::separator() + QLatin1String("qtermwidget6")
Copy link
Member

Choose a reason for hiding this comment

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

I haven't had time to check the whole patch, but "share" and "qtermwidget6" shouldn't be hard coded.

Also, this number of QDir::separator() looks ugly. We don't (and won't) support MS Windows.

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