mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix app data dir not opening on macOS when "Open AppData" button pressed (#2537)
This commit is contained in:
parent
b02403a7d8
commit
79bc700743
|
@ -81,6 +81,7 @@
|
||||||
- Bugfix: Fixed hidden tooltips when always on top is active (#2384)
|
- Bugfix: Fixed hidden tooltips when always on top is active (#2384)
|
||||||
- Bugfix: Fix CLI arguments (`--help`, `--version`, `--channels`) not being respected (#2368, #2190)
|
- Bugfix: Fix CLI arguments (`--help`, `--version`, `--channels`) not being respected (#2368, #2190)
|
||||||
- Bugfix: Fix Twitch cheer emotes not displaying tooltips when hovered (#2434)
|
- Bugfix: Fix Twitch cheer emotes not displaying tooltips when hovered (#2434)
|
||||||
|
- Bugfix: Fix directory not opening when clicking "Open AppData Directory" setting button on macOS (#2531, #2537)
|
||||||
- Dev: Updated minimum required Qt framework version to 5.12. (#2210)
|
- Dev: Updated minimum required Qt framework version to 5.12. (#2210)
|
||||||
- Dev: Migrated `Kraken::getUser` to Helix (#2260)
|
- Dev: Migrated `Kraken::getUser` to Helix (#2260)
|
||||||
- Dev: Migrated `TwitchAccount::(un)followUser` from Kraken to Helix and moved it to `Helix::(un)followUser`. (#2306)
|
- Dev: Migrated `TwitchAccount::(un)followUser` from Kraken to Helix and moved it to `Helix::(un)followUser`. (#2306)
|
||||||
|
|
|
@ -455,7 +455,11 @@ void GeneralPage::initLayout(GeneralPageView &layout)
|
||||||
layout.addDescription("All local files like settings and cache files are "
|
layout.addDescription("All local files like settings and cache files are "
|
||||||
"store in this directory.");
|
"store in this directory.");
|
||||||
layout.addButton("Open AppData directory", [] {
|
layout.addButton("Open AppData directory", [] {
|
||||||
|
#ifdef Q_OS_DARWIN
|
||||||
|
QDesktopServices::openUrl("file://" + getPaths()->rootAppDataDirectory);
|
||||||
|
#else
|
||||||
QDesktopServices::openUrl(getPaths()->rootAppDataDirectory);
|
QDesktopServices::openUrl(getPaths()->rootAppDataDirectory);
|
||||||
|
#endif
|
||||||
});
|
});
|
||||||
|
|
||||||
layout.addSubtitle("Temporary files (Cache)");
|
layout.addSubtitle("Temporary files (Cache)");
|
||||||
|
|
Loading…
Reference in a new issue