diff options
| author | Tom Tanner <thosrtanner2@users.sourceforge.net> | 2015-03-20 10:34:30 +0000 |
|---|---|---|
| committer | Tom Tanner <thosrtanner2@users.sourceforge.net> | 2015-03-20 10:34:30 +0000 |
| commit | a9cec9e5e230dbd56d62ae6dd517ae10252125ae (patch) | |
| tree | fcc958617f8467ba2d979f0d4b5ec4bd4275abc3 /src/savetextasdialog.cpp | |
| parent | 771dde7771f39776afae2c9089fe250bd1e8128d (diff) | |
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
Diffstat (limited to 'src/savetextasdialog.cpp')
| -rw-r--r-- | src/savetextasdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <report.h>
+#include "report.h"
#include <QClipboard>
#include <QFileDialog>
@@ -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;
}
|
