From 6516a6b7c19713de28db7142612f1c095e541317 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 17 Feb 2013 09:26:29 +0100 Subject: - moved shared and uibase libraries to namespaces - bugfix: the "fix mods" function was accessing the save game data incorrectly, causing a crash --- src/savetextasdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/savetextasdialog.cpp') diff --git a/src/savetextasdialog.cpp b/src/savetextasdialog.cpp index 465e3d65..1f23356f 100644 --- a/src/savetextasdialog.cpp +++ b/src/savetextasdialog.cpp @@ -37,7 +37,7 @@ void SaveTextAsDialog::on_saveAsBtn_clicked() if (!fileName.isEmpty()) { QFile file(fileName); if (!file.open(QIODevice::WriteOnly)) { - reportError(tr("failed to open \"%1\" for writing").arg(fileName)); + MOBase::reportError(tr("failed to open \"%1\" for writing").arg(fileName)); return; } -- cgit v1.3.1