summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-29 01:09:49 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-10-29 01:09:49 +0100
commite29f9b9b1ede2967031255a7bd23625aedc493c3 (patch)
treedfb9ce531ec84db3b251d15bfa800d05abfef272 /facetracknoir/ui.h
parenta084a26275c1b5b0ddc5547ed230fa0b244598d6 (diff)
work around global 'ptr' symbol clash with opencv
Issue: #89 Reported-by: @runningman84
Diffstat (limited to 'facetracknoir/ui.h')
-rw-r--r--facetracknoir/ui.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/facetracknoir/ui.h b/facetracknoir/ui.h
index 4158e29e..3f607726 100644
--- a/facetracknoir/ui.h
+++ b/facetracknoir/ui.h
@@ -62,25 +62,25 @@ class MainWindow : public QMainWindow, private State
Q_OBJECT
Ui::OpentrackUI ui;
- ptr<QSystemTrayIcon> tray;
+ mem<QSystemTrayIcon> tray;
QTimer pose_update_timer;
- ptr<KeyboardShortcutDialog> shortcuts_widget;
- ptr<MapWidget> mapping_widget;
+ mem<KeyboardShortcutDialog> shortcuts_widget;
+ mem<MapWidget> mapping_widget;
QShortcut kbd_quit;
QPixmap no_feed_pixmap;
- ptr<IFilterDialog> pFilterDialog;
- ptr<IProtocolDialog> pProtocolDialog;
- ptr<ITrackerDialog> pTrackerDialog;
+ mem<IFilterDialog> pFilterDialog;
+ mem<IProtocolDialog> pProtocolDialog;
+ mem<ITrackerDialog> pTrackerDialog;
- ptr<dylib> current_tracker()
+ mem<dylib> current_tracker()
{
return modules.trackers().value(ui.iconcomboTrackerSource->currentIndex(), nullptr);
}
- ptr<dylib> current_protocol()
+ mem<dylib> current_protocol()
{
return modules.protocols().value(ui.iconcomboProtocol->currentIndex(), nullptr);
}
- ptr<dylib> current_filter()
+ mem<dylib> current_filter()
{
return modules.filters().value(ui.iconcomboFilter->currentIndex(), nullptr);
}