summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/curve-config.cpp4
-rw-r--r--facetracknoir/curve-config.h2
-rw-r--r--facetracknoir/facetracknoir.cpp6
-rw-r--r--facetracknoir/shortcuts.cpp4
-rw-r--r--facetracknoir/shortcuts.h2
5 files changed, 9 insertions, 9 deletions
diff --git a/facetracknoir/curve-config.cpp b/facetracknoir/curve-config.cpp
index ba734111..a4dd03ae 100644
--- a/facetracknoir/curve-config.cpp
+++ b/facetracknoir/curve-config.cpp
@@ -1,8 +1,8 @@
#include "facetracknoir/facetracknoir.h"
#include "facetracknoir/curve-config.h"
#include <QDebug>
-CurveConfigurationDialog::CurveConfigurationDialog( FaceTrackNoIR *ftnoir, QWidget *parent, Qt::WindowFlags f ) :
-QWidget( parent , f)
+CurveConfigurationDialog::CurveConfigurationDialog(FaceTrackNoIR *ftnoir, QWidget *parent) :
+QWidget( parent, Qt::Dialog )
{
ui.setupUi( this );
diff --git a/facetracknoir/curve-config.h b/facetracknoir/curve-config.h
index e783dd33..1fcddc4e 100644
--- a/facetracknoir/curve-config.h
+++ b/facetracknoir/curve-config.h
@@ -9,7 +9,7 @@ class CurveConfigurationDialog: public QWidget
Q_OBJECT
public:
- explicit CurveConfigurationDialog( FaceTrackNoIR *ftnoir, QWidget *parent=0, Qt::WindowFlags f=0 );
+ explicit CurveConfigurationDialog( FaceTrackNoIR *ftnoir, QWidget *parent );
virtual ~CurveConfigurationDialog();
void showEvent ( QShowEvent * event );
void loadSettings();
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index 0dca8183..60e2e124 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -511,7 +511,7 @@ void FaceTrackNoIR::loadSettings() {
if (!_curve_config)
{
- _curve_config = new CurveConfigurationDialog( this, this, Qt::Dialog );
+ _curve_config = new CurveConfigurationDialog( this, this );
}
((CurveConfigurationDialog*)_curve_config)->loadSettings();
@@ -900,7 +900,7 @@ void FaceTrackNoIR::showKeyboardShortcuts() {
// Create if new
if (!_keyboard_shortcuts)
{
- _keyboard_shortcuts = new KeyboardShortcutDialog( this, this, Qt::Dialog );
+ _keyboard_shortcuts = new KeyboardShortcutDialog( this, this );
}
// Show if already created
@@ -916,7 +916,7 @@ void FaceTrackNoIR::showCurveConfiguration() {
// Create if new
if (!_curve_config)
{
- _curve_config = new CurveConfigurationDialog( this, this, Qt::Dialog );
+ _curve_config = new CurveConfigurationDialog( this, this );
}
// Show if already created
diff --git a/facetracknoir/shortcuts.cpp b/facetracknoir/shortcuts.cpp
index 1dff7c60..57f64998 100644
--- a/facetracknoir/shortcuts.cpp
+++ b/facetracknoir/shortcuts.cpp
@@ -1,8 +1,8 @@
#include "facetracknoir/facetracknoir.h"
#include "facetracknoir/shortcuts.h"
-KeyboardShortcutDialog::KeyboardShortcutDialog( FaceTrackNoIR *ftnoir, QWidget *parent, Qt::WindowFlags f ) :
-QWidget( parent , f)
+KeyboardShortcutDialog::KeyboardShortcutDialog( FaceTrackNoIR *ftnoir, QWidget *parent )
+ : QWidget( parent, Qt::Dialog)
{
ui.setupUi( this );
diff --git a/facetracknoir/shortcuts.h b/facetracknoir/shortcuts.h
index a254b2bb..15256b6c 100644
--- a/facetracknoir/shortcuts.h
+++ b/facetracknoir/shortcuts.h
@@ -15,7 +15,7 @@ class KeyboardShortcutDialog: public QWidget
Q_OBJECT
public:
- explicit KeyboardShortcutDialog( FaceTrackNoIR *ftnoir, QWidget *parent=0, Qt::WindowFlags f=0 );
+ explicit KeyboardShortcutDialog( FaceTrackNoIR *ftnoir, QWidget *parent );
virtual ~KeyboardShortcutDialog();
void showEvent ( QShowEvent * event );