Skip to content

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