Qt: add open file location to screenshot preview

Remove duplicate slash from screenshot path
This commit is contained in:
Megamouse 2020-03-24 21:10:03 +01:00
parent bd49ad358c
commit f27de28ee9
4 changed files with 5 additions and 4 deletions

View file

@ -301,7 +301,7 @@ void gs_frame::take_screenshot(const std::vector<u8> sshot_data, const u32 sshot
std::thread(
[sshot_width, sshot_height](const std::vector<u8> sshot_data)
{
std::string screen_path = fs::get_config_dir() + "/screenshots/";
std::string screen_path = fs::get_config_dir() + "screenshots/";
if (!fs::create_dir(screen_path) && fs::g_tls_error != fs::error::exist)
{