summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_UDP
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-04-04 19:58:09 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-04-04 19:58:09 +0000
commitd3456cb84b428b2f5070517d6e571f6b2724dd24 (patch)
treeb4885f52965952f8a4a529bce3edadc6dc425867 /FTNoIR_Tracker_UDP
parent28c091a886e6c98f41d3f5f8b153768b4a589fcd (diff)
Move protocols to DLL: TrackIR
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@61 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_UDP')
-rw-r--r--FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h2
-rw-r--r--FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp9
2 files changed, 3 insertions, 8 deletions
diff --git a/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h b/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h
index b5d644fd..51c22027 100644
--- a/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h
+++ b/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h
@@ -57,7 +57,7 @@ class FTNClientControls: public QWidget, Ui::UICFTNClientControls, public ITrack
Q_OBJECT
public:
- explicit FTNClientControls( QWidget *parent=0, Qt::WindowFlags f=0 );
+ explicit FTNClientControls();
virtual ~FTNClientControls();
void showEvent ( QShowEvent * event );
diff --git a/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp
index ba140cbb..8887deb0 100644
--- a/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp
+++ b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp
@@ -215,16 +215,11 @@ FTNOIR_TRACKER_BASE_EXPORT TRACKERHANDLE __stdcall GetTracker()
//
// Constructor for server-settings-dialog
//
-FTNClientControls::FTNClientControls( QWidget *parent, Qt::WindowFlags f ) :
-QWidget( parent , f)
+FTNClientControls::FTNClientControls() :
+QWidget()
{
ui.setupUi( this );
- QPoint offsetpos(100, 100);
- if (parent) {
- this->move(parent->pos() + offsetpos);
- }
-
// Connect Qt signals to member-functions
connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
connect(ui.btnCancel, SIGNAL(clicked()), this, SLOT(doCancel()));