diff --git a/limereport/lrreportengine.cpp b/limereport/lrreportengine.cpp index fb7ee7c..d41c194 100644 --- a/limereport/lrreportengine.cpp +++ b/limereport/lrreportengine.cpp @@ -155,7 +155,7 @@ void ReportEnginePrivate::slotDataSourceCollectionLoaded(const QString &collecti emit datasourceCollectionLoadFinished(collectionName); } -void ReportEnginePrivate::slotPreviewWindowDestroed(QObject* window) +void ReportEnginePrivate::slotPreviewWindowDestroyed(QObject* window) { if (m_activePreview == window){ m_activePreview = 0; @@ -387,7 +387,7 @@ void ReportEnginePrivate::previewReport(PreviewHints hints) w->setHideResultEditButton(resultIsEditable()); m_activePreview = w; - connect(w,SIGNAL(destroyed(QObject*)), this, SLOT(slotPreviewWindowDestroed(QObject*))); + connect(w,SIGNAL(destroyed(QObject*)), this, SLOT(slotPreviewWindowDestroyed(QObject*))); qDebug()<<"render time ="<exec(); } diff --git a/limereport/lrreportengine_p.h b/limereport/lrreportengine_p.h index 4ec3508..ca080f2 100644 --- a/limereport/lrreportengine_p.h +++ b/limereport/lrreportengine_p.h @@ -144,7 +144,7 @@ protected: protected slots: void slotDataSourceCollectionLoaded(const QString& collectionName); private slots: - void slotPreviewWindowDestroed(QObject *window); + void slotPreviewWindowDestroyed(QObject *window); private: //ICollectionContainer virtual QObject* createElement(const QString&,const QString&);