summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/pppdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/pppdialog.cpp b/noncore/net/opietooth/manager/pppdialog.cpp
index 1df22a1..4ab3738 100644
--- a/noncore/net/opietooth/manager/pppdialog.cpp
+++ b/noncore/net/opietooth/manager/pppdialog.cpp
@@ -64,24 +64,25 @@ PPPDialog::PPPDialog( const QString& device, int port, QWidget* parent,
64 if (!PPPDialog::conns[i].proc.isRunning()) 64 if (!PPPDialog::conns[i].proc.isRunning())
65 serPort->insertItem(tr("rfcomm%1").arg(i)); 65 serPort->insertItem(tr("rfcomm%1").arg(i));
66 } 66 }
67 67
68 layout->addWidget(info); 68 layout->addWidget(info);
69 layout->addWidget(cmdLine); 69 layout->addWidget(cmdLine);
70 layout->addWidget(serPort); 70 layout->addWidget(serPort);
71 layout->addWidget(outPut); 71 layout->addWidget(outPut);
72 layout->addWidget(connectButton); 72 layout->addWidget(connectButton);
73 73
74 connect( connectButton, SIGNAL( clicked() ), this, SLOT( connectToDevice() ) ); 74 connect( connectButton, SIGNAL( clicked() ), this, SLOT( connectToDevice() ) );
75 //And fill cmdLine with ppp script filenames 75 //And fill cmdLine with ppp script filenames
76 cmdLine->insertItem("");
76 cmdLine->insertStringList(d.entryList()); 77 cmdLine->insertStringList(d.entryList());
77} 78}
78 79
79PPPDialog::~PPPDialog() { 80PPPDialog::~PPPDialog() {
80} 81}
81 82
82void PPPDialog::connectToDevice() { 83void PPPDialog::connectToDevice() {
83 int portNum = serPort->currentText().right(1).toInt(); 84 int portNum = serPort->currentText().right(1).toInt();
84 if (PPPDialog::conns[portNum].proc.isRunning()) { 85 if (PPPDialog::conns[portNum].proc.isRunning()) {
85 outPut->append(tr("Work in progress")); 86 outPut->append(tr("Work in progress"));
86 return; 87 return;
87 } 88 }