aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/about_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/about_dialog.cpp b/ui/qt/about_dialog.cpp
index 86eee1acdd..68f69ec2e0 100644
--- a/ui/qt/about_dialog.cpp
+++ b/ui/qt/about_dialog.cpp
@@ -484,7 +484,7 @@ void AboutDialog::urlDoubleClicked(const QModelIndex &idx)
if (QMessageBox::question(this, tr("The directory does not exist"),
QString(tr("Should the directory %1 be created?").arg(urlText))) == QMessageBox::Yes)
{
- if (! QDir().mkdir(urlText))
+ if (! QDir().mkpath(urlText))
{
QMessageBox::warning(this, tr("The directory could not be created"),
QString(tr("The directory %1 could not be created!").arg(urlText)));