Fix formatting

This commit is contained in:
RocketRobz 2024-05-15 13:54:24 -06:00
parent 70cb52d98f
commit ae325251c6

View file

@ -2425,7 +2425,8 @@ void GMainWindow::OnCaptureScreenshot() {
std::string path = UISettings::values.screenshot_path.GetValue(); std::string path = UISettings::values.screenshot_path.GetValue();
if (!FileUtil::IsDirectory(path)) { if (!FileUtil::IsDirectory(path)) {
if (!FileUtil::CreateFullPath(path)) { if (!FileUtil::CreateFullPath(path)) {
QMessageBox::information(this, tr("Invalid Screenshot Directory"), QMessageBox::information(
this, tr("Invalid Screenshot Directory"),
tr("Cannot create specified screenshot directory. Screenshot " tr("Cannot create specified screenshot directory. Screenshot "
"path is set back to its default value.")); "path is set back to its default value."));
path = FileUtil::GetUserPath(FileUtil::UserPath::UserDir); path = FileUtil::GetUserPath(FileUtil::UserPath::UserDir);