From 2f382341024fd6c559784dc84677bead5f9c84fd Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sun, 15 May 2016 19:26:14 +0100 Subject: [PATCH] Change header in ConfigureFormatDialog --- app/ConfigureFormatDialog.cpp | 3 ++- app/ConfigureFormatDialog.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/ConfigureFormatDialog.cpp b/app/ConfigureFormatDialog.cpp index 45a2984..5ddcce7 100644 --- a/app/ConfigureFormatDialog.cpp +++ b/app/ConfigureFormatDialog.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "lib/PlaYUVerFrame.h" @@ -266,7 +267,7 @@ ConfigureFormatDialog::ConfigureFormatDialog( QWidget *parent ) : } -Int ConfigureFormatDialog::runConfigureFormatDialog( QString Filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBits, Int& rEndianess, +Int ConfigureFormatDialog::runConfigureFormatDialog( const QString& Filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBits, Int& rEndianess, UInt& rFrameRate ) { // Set default values diff --git a/app/ConfigureFormatDialog.h b/app/ConfigureFormatDialog.h index 3eefb8d..fc78f3b 100644 --- a/app/ConfigureFormatDialog.h +++ b/app/ConfigureFormatDialog.h @@ -27,7 +27,6 @@ #include #include -#include #include "PlaYUVerAppDefs.h" @@ -35,6 +34,7 @@ class QComboBox; class QHBoxLayout; class QLabel; class QSpinBox; +class QString; class QWidget; /** @@ -47,7 +47,7 @@ Q_OBJECT public: ConfigureFormatDialog( QWidget *parent = 0 ); - Int runConfigureFormatDialog( QString Filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBits, Int& rEndianess, UInt& rFrameRate ); + Int runConfigureFormatDialog( const QString& Filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBits, Int& rEndianess, UInt& rFrameRate ); private Q_SLOTS: void slotStandardResolutionSelected( int );