From 8d6e9d36e4d03135a57561da768496dcc4a94b86 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Thu, 18 Feb 2016 22:27:06 +0300 Subject: [PATCH] typo has been fixed --- src/lrdatadesignintf.cpp | 4 ++-- src/lrdatadesignintf.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lrdatadesignintf.cpp b/src/lrdatadesignintf.cpp index 1ada829..2b85fec 100644 --- a/src/lrdatadesignintf.cpp +++ b/src/lrdatadesignintf.cpp @@ -377,7 +377,7 @@ void SubQueryHolder::setMasterDatasource(const QString &value) void SubQueryHolder::extractParams() { if (!dataManager()->containsDatasource(m_masterDatasource)){ - setLastError(QObject::tr("Master datasource \"%1\" not found!!!").arg(m_masterDatasource)); + setLastError(QObject::tr("Master datasource \"%1\" not found!").arg(m_masterDatasource)); setPrepared(false); } else { m_preparedSQL = replaceFields(replaceVariables(queryText())); @@ -485,7 +485,7 @@ void ProxyHolder::filterModel() m_lastError.clear(); } else { m_lastError.clear(); - if(!master) m_lastError+=QObject::tr("Master datasouce \"%1\" not found!").arg(m_desc->master()); + if(!master) m_lastError+=QObject::tr("Master datasource \"%1\" not found!").arg(m_desc->master()); if(!child) m_lastError+=((m_lastError.isEmpty())?QObject::tr("Child"):QObject::tr(" and child "))+ QObject::tr("datasouce \"%1\" not found!").arg(m_desc->child()); } diff --git a/src/lrdatadesignintf.h b/src/lrdatadesignintf.h index 464f324..68e174b 100644 --- a/src/lrdatadesignintf.h +++ b/src/lrdatadesignintf.h @@ -282,6 +282,7 @@ private: }; class MasterDetailProxyModel : public QSortFilterProxyModel{ + Q_OBJECT public: MasterDetailProxyModel(DataSourceManager* dataManager):m_maps(0),m_dataManager(dataManager){} void setMaster(QString name);