0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 08:34:38 +03:00

Fix spelling: slotPreviewWindowDestroed -> slotPreviewWindowDestroyed

This commit is contained in:
Andy Maloney 2017-04-19 21:48:37 -04:00
parent fae194b36f
commit e786a9a6e6
2 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@ void ReportEnginePrivate::slotDataSourceCollectionLoaded(const QString &collecti
emit datasourceCollectionLoadFinished(collectionName); emit datasourceCollectionLoadFinished(collectionName);
} }
void ReportEnginePrivate::slotPreviewWindowDestroed(QObject* window) void ReportEnginePrivate::slotPreviewWindowDestroyed(QObject* window)
{ {
if (m_activePreview == window){ if (m_activePreview == window){
m_activePreview = 0; m_activePreview = 0;
@ -387,7 +387,7 @@ void ReportEnginePrivate::previewReport(PreviewHints hints)
w->setHideResultEditButton(resultIsEditable()); w->setHideResultEditButton(resultIsEditable());
m_activePreview = w; m_activePreview = w;
connect(w,SIGNAL(destroyed(QObject*)), this, SLOT(slotPreviewWindowDestroed(QObject*))); connect(w,SIGNAL(destroyed(QObject*)), this, SLOT(slotPreviewWindowDestroyed(QObject*)));
qDebug()<<"render time ="<<start.msecsTo(QTime::currentTime()); qDebug()<<"render time ="<<start.msecsTo(QTime::currentTime());
w->exec(); w->exec();
} }

View File

@ -144,7 +144,7 @@ protected:
protected slots: protected slots:
void slotDataSourceCollectionLoaded(const QString& collectionName); void slotDataSourceCollectionLoaded(const QString& collectionName);
private slots: private slots:
void slotPreviewWindowDestroed(QObject *window); void slotPreviewWindowDestroyed(QObject *window);
private: private:
//ICollectionContainer //ICollectionContainer
virtual QObject* createElement(const QString&,const QString&); virtual QObject* createElement(const QString&,const QString&);