From a9cec9e5e230dbd56d62ae6dd517ae10252125ae Mon Sep 17 00:00:00 2001 From: Tom Tanner Date: Fri, 20 Mar 2015 10:34:30 +0000 Subject: Fixed Scons build for existing bits. Changed pynedit.pro to fetch from 'standard' install location Changed saveas code to use organizer report rather than uibase - this way it's not dependant on the vagaries of the include path, and works the same as the rest of the organiser directory --- src/savetextasdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/savetextasdialog.cpp') diff --git a/src/savetextasdialog.cpp b/src/savetextasdialog.cpp index 1f23356f..1a940094 100644 --- a/src/savetextasdialog.cpp +++ b/src/savetextasdialog.cpp @@ -1,6 +1,6 @@ #include "savetextasdialog.h" #include "ui_savetextasdialog.h" -#include +#include "report.h" #include #include @@ -37,7 +37,7 @@ void SaveTextAsDialog::on_saveAsBtn_clicked() if (!fileName.isEmpty()) { QFile file(fileName); if (!file.open(QIODevice::WriteOnly)) { - MOBase::reportError(tr("failed to open \"%1\" for writing").arg(fileName)); + reportError(tr("failed to open \"%1\" for writing").arg(fileName)); return; } -- cgit v1.3.1