mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix special chars in Windows usernames breaking the storage of commands.json (#3397)
This commit is contained in:
parent
83f4d07b2e
commit
fd779387d5
|
@ -66,6 +66,7 @@
|
||||||
- Bugfix: Fixed IRC /kick command crashing if parameters were malformed. (#3382)
|
- Bugfix: Fixed IRC /kick command crashing if parameters were malformed. (#3382)
|
||||||
- Bugfix: Fixed a crash that could occur on certain Linux systems when toggling the Always on Top flag. (#3385)
|
- Bugfix: Fixed a crash that could occur on certain Linux systems when toggling the Always on Top flag. (#3385)
|
||||||
- Bugfix: Fixed zero-width emotes sometimes wrapping lines incorrectly. (#3389)
|
- Bugfix: Fixed zero-width emotes sometimes wrapping lines incorrectly. (#3389)
|
||||||
|
- Bugfix: Fixed using special chars in Windows username breaking the storage of custom commands (#3397)
|
||||||
- Dev: Add GitHub action to test builds without precompiled headers enabled. (#3327)
|
- Dev: Add GitHub action to test builds without precompiled headers enabled. (#3327)
|
||||||
- Dev: Renamed CMake's build option `USE_SYSTEM_QT5KEYCHAIN` to `USE_SYSTEM_QTKEYCHAIN`. (#3103)
|
- Dev: Renamed CMake's build option `USE_SYSTEM_QT5KEYCHAIN` to `USE_SYSTEM_QTKEYCHAIN`. (#3103)
|
||||||
- Dev: Add benchmarks that can be compiled with the `BUILD_BENCHMARKS` CMake flag. Off by default. (#3038)
|
- Dev: Add benchmarks that can be compiled with the `BUILD_BENCHMARKS` CMake flag. Off by default. (#3038)
|
||||||
|
|
|
@ -332,7 +332,7 @@ void CommandController::initialize(Settings &, Paths &paths)
|
||||||
// Initialize setting manager for commands.json
|
// Initialize setting manager for commands.json
|
||||||
auto path = combinePath(paths.settingsDirectory, "commands.json");
|
auto path = combinePath(paths.settingsDirectory, "commands.json");
|
||||||
this->sm_ = std::make_shared<pajlada::Settings::SettingManager>();
|
this->sm_ = std::make_shared<pajlada::Settings::SettingManager>();
|
||||||
this->sm_->setPath(path.toStdString());
|
this->sm_->setPath(qPrintable(path));
|
||||||
this->sm_->setBackupEnabled(true);
|
this->sm_->setBackupEnabled(true);
|
||||||
this->sm_->setBackupSlots(9);
|
this->sm_->setBackupSlots(9);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue