Diffstat (limited to 'noncore/net/opietooth/blue-pin/pindlg.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/blue-pin/pindlg.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/opietooth/blue-pin/pindlg.cc b/noncore/net/opietooth/blue-pin/pindlg.cc index 54f096e..7d60d6c 100644 --- a/noncore/net/opietooth/blue-pin/pindlg.cc +++ b/noncore/net/opietooth/blue-pin/pindlg.cc | |||
@@ -11,24 +11,25 @@ | |||
11 | #include "pindlg.h" | 11 | #include "pindlg.h" |
12 | 12 | ||
13 | using namespace OpieTooth; | 13 | using namespace OpieTooth; |
14 | 14 | ||
15 | PinDlg::PinDlg( const QString& status, | 15 | PinDlg::PinDlg( const QString& status, |
16 | const QString& mac, QWidget* parent, | 16 | const QString& mac, QWidget* parent, |
17 | const char* name ) | 17 | const char* name ) |
18 | : PinDlgBase( parent, name, WType_Modal ) | 18 | : PinDlgBase( parent, name, WType_Modal ) |
19 | { | 19 | { |
20 | m_mac = mac; | 20 | m_mac = mac; |
21 | test( mac ); | 21 | test( mac ); |
22 | txtStatus->setText(status); | 22 | txtStatus->setText(status); |
23 | showMaximized(); | ||
23 | } | 24 | } |
24 | PinDlg::~PinDlg() { | 25 | PinDlg::~PinDlg() { |
25 | 26 | ||
26 | } | 27 | } |
27 | void PinDlg::setMac( const QString& mac ) { | 28 | void PinDlg::setMac( const QString& mac ) { |
28 | txtStatus->setText( mac ); | 29 | txtStatus->setText( mac ); |
29 | } | 30 | } |
30 | QString PinDlg::pin() const{ | 31 | QString PinDlg::pin() const{ |
31 | return lnePin->text(); | 32 | return lnePin->text(); |
32 | } | 33 | } |
33 | 34 | ||
34 | void PinDlg::test( const QString& mac ) { | 35 | void PinDlg::test( const QString& mac ) { |