summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <lat9nq@virginia.edu>2020-07-21 05:19:07 +0200
committerlat9nq <lat9nq@virginia.edu>2020-07-21 05:19:07 +0200
commite35239b86128535d4ac308856ce2a928654f5dcb (patch)
tree120bead9006dd06df0bdcdc2060d83c91f35512a
parentconfigure_ui: don't use an empty string (diff)
downloadyuzu-e35239b86128535d4ac308856ce2a928654f5dcb.tar
yuzu-e35239b86128535d4ac308856ce2a928654f5dcb.tar.gz
yuzu-e35239b86128535d4ac308856ce2a928654f5dcb.tar.bz2
yuzu-e35239b86128535d4ac308856ce2a928654f5dcb.tar.lz
yuzu-e35239b86128535d4ac308856ce2a928654f5dcb.tar.xz
yuzu-e35239b86128535d4ac308856ce2a928654f5dcb.tar.zst
yuzu-e35239b86128535d4ac308856ce2a928654f5dcb.zip
-rw-r--r--src/yuzu/configuration/configure_ui.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/yuzu/configuration/configure_ui.cpp b/src/yuzu/configuration/configure_ui.cpp
index 5c916a0dd..91c21c572 100644
--- a/src/yuzu/configuration/configure_ui.cpp
+++ b/src/yuzu/configuration/configure_ui.cpp
@@ -60,9 +60,11 @@ ConfigureUi::ConfigureUi(QWidget* parent) : QWidget(parent), ui(new Ui::Configur
// Set screenshot path to user specification.
connect(ui->screenshot_path_button, &QToolButton::pressed, this, [this] {
- const QString& filename = QFileDialog::getExistingDirectory(
- this, tr("Select Screenshots Path..."),
- QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ScreenshotsDir)));
+ const QString& filename =
+ QFileDialog::getExistingDirectory(
+ this, tr("Select Screenshots Path..."),
+ QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ScreenshotsDir))) +
+ QDir::separator();
if (!filename.isEmpty()) {
ui->screenshot_path_edit->setText(filename);
}