mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-25 21:14:39 +03:00
Merge pull request #74 from asmaloney/fix-spelling
Fix spelling: slotPreviewWindowDestroed -> slotPreviewWindowDestroyed
This commit is contained in:
commit
930c4dffdb
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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&);
|
||||||
|
Loading…
Reference in New Issue
Block a user