1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Change ctor parameters with references

This commit is contained in:
Elias Steurer 2020-03-06 13:24:34 +01:00
parent 5aff6dd2ab
commit 6274dc2f31
2 changed files with 8 additions and 5 deletions

View File

@ -62,13 +62,14 @@ LRESULT __stdcall MouseHookCallback(int nCode, WPARAM wParam, LPARAM lParam)
WinWindow::WinWindow(
const QVector<int>& activeScreensList,
const QString projectPath,
const QString id,
const QString volume,
const QString fillmode,
const QString& projectPath,
const QString& id,
const QString& volume,
const QString& fillmode,
const bool checkWallpaperVisible)
: BaseWindow(projectPath, activeScreensList, checkWallpaperVisible)
{
m_window.hide();
m_windowHandle = reinterpret_cast<HWND>(m_window.winId());

View File

@ -18,11 +18,13 @@
#include "basewindow.h"
#include "windowsdesktopproperties.h"
class WinWindow : public BaseWindow {
Q_OBJECT
public:
explicit WinWindow(const QVector<int>& activeScreensList, const QString projectPath, const QString id, const QString volume, const QString fillmode, const bool checkWallpaperVisible);
explicit WinWindow(const QVector<int>& activeScreensList, const QString& projectPath, const QString& id, const QString& volume, const QString& fillmode, const bool checkWallpaperVisible);
public slots:
void setVisible(bool show) override;