Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion deflect/qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

set(DEFLECTQT_HEADERS
EventReceiver.h
helpers.h
QmlGestures.h
QmlStreamerImpl.h
)
Expand Down
3 changes: 1 addition & 2 deletions deflect/qt/QmlStreamerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include "EventReceiver.h"
#include "QmlGestures.h"
#include "TouchInjector.h"
#include "helpers.h"

#include <QCoreApplication>
#include <QQmlContext>
Expand All @@ -70,7 +69,7 @@ namespace qt
{
QmlStreamer::Impl::Impl(const QString& qmlFile, const std::string& streamHost,
const std::string& streamId)
: _quickView{new OffscreenQuickView{make_unique<QQuickRenderControl>(),
: _quickView{new OffscreenQuickView{std::make_unique<QQuickRenderControl>(),
renderMode}}
, _qmlGestures{new QmlGestures}
, _touchInjector{TouchInjector::create(*_quickView)}
Expand Down
4 changes: 1 addition & 3 deletions deflect/qt/TouchInjector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@

#include "TouchInjector.h"

#include "helpers.h"

#include <QCoreApplication>
#include <QWindow>

Expand All @@ -61,7 +59,7 @@ std::unique_ptr<TouchInjector> TouchInjector::create(QWindow& window)
return QPointF{normPos.x() * window.width(),
normPos.y() * window.height()};
};
return make_unique<TouchInjector>(window, mapFunc);
return std::make_unique<TouchInjector>(window, mapFunc);
}

void TouchInjector::addTouchPoint(const int id, const QPointF position)
Expand Down
60 changes: 0 additions & 60 deletions deflect/qt/helpers.h

This file was deleted.