summaryrefslogtreecommitdiffhomepage
path: root/variant/default/new_file_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'variant/default/new_file_dialog.cpp')
-rw-r--r--variant/default/new_file_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/variant/default/new_file_dialog.cpp b/variant/default/new_file_dialog.cpp
index 2da9ce56..70816c5d 100644
--- a/variant/default/new_file_dialog.cpp
+++ b/variant/default/new_file_dialog.cpp
@@ -23,7 +23,7 @@ void new_file_dialog::ok_clicked()
text = text.replace('\\', "");
if (text != "" && !text.endsWith(".ini"))
text += ".ini";
- if (text == "" || text == ".ini" || QFile(options::group::ini_directory() + "/" + text).exists())
+ if (text == "" || text == ".ini" || QFile(options::globals::ini_directory() + "/" + text).exists())
{
QMessageBox::warning(this,
tr("File exists"),