mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Fix missing clearComponentCache for macos
This commit is contained in:
parent
66a6a30c04
commit
3240c84db8
@ -150,6 +150,7 @@ public slots:
|
|||||||
virtual void destroyThis() { }
|
virtual void destroyThis() { }
|
||||||
virtual void setVisible(bool show) { Q_UNUSED(show) }
|
virtual void setVisible(bool show) { Q_UNUSED(show) }
|
||||||
virtual void messageReceived(QString key, QString value) final;
|
virtual void messageReceived(QString key, QString value) final;
|
||||||
|
virtual void clearComponentCache() {}
|
||||||
virtual void replaceWallpaper(
|
virtual void replaceWallpaper(
|
||||||
const QString absolutePath,
|
const QString absolutePath,
|
||||||
const QString file,
|
const QString file,
|
||||||
|
@ -63,3 +63,8 @@ void MacWindow::destroyThis()
|
|||||||
{
|
{
|
||||||
QCoreApplication::quit();
|
QCoreApplication::quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MacWindow::clearComponentCache()
|
||||||
|
{
|
||||||
|
m_window.engine()->clearComponentCache();
|
||||||
|
}
|
||||||
|
@ -65,6 +65,7 @@ signals:
|
|||||||
public slots:
|
public slots:
|
||||||
void setVisible(bool show) override;
|
void setVisible(bool show) override;
|
||||||
void destroyThis() override;
|
void destroyThis() override;
|
||||||
|
void clearComponentCache() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QQuickView m_window;
|
QQuickView m_window;
|
||||||
|
@ -73,7 +73,7 @@ public slots:
|
|||||||
void setVisible(bool show) override;
|
void setVisible(bool show) override;
|
||||||
void destroyThis() override;
|
void destroyThis() override;
|
||||||
void terminate();
|
void terminate();
|
||||||
void clearComponentCache();
|
void clearComponentCache() override;
|
||||||
|
|
||||||
void setWindowsDesktopProperties(WindowsDesktopProperties* windowsDesktopProperties)
|
void setWindowsDesktopProperties(WindowsDesktopProperties* windowsDesktopProperties)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user