Merge pull request #74 from asmaloney/fix-spelling

Fix spelling: slotPreviewWindowDestroed -> slotPreviewWindowDestroyed
This commit is contained in:
fralx 2017-04-20 20:55:22 +03:00 committed by GitHub
commit 930c4dffdb
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&);