summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-07 18:10:10 (UTC)
committer harlekin <harlekin>2002-10-07 18:10:10 (UTC)
commit3d7d26f3c6ec040d883f1a1f7137c1ded6d9d76d (patch) (side-by-side diff)
tree7fdc70be408f3c4ac5160ccf1cbc2e3584630ef9
parentd55aa591770675008da9e3290617e463a77e4c98 (diff)
downloadopie-3d7d26f3c6ec040d883f1a1f7137c1ded6d9d76d.zip
opie-3d7d26f3c6ec040d883f1a1f7137c1ded6d9d76d.tar.gz
opie-3d7d26f3c6ec040d883f1a1f7137c1ded6d9d76d.tar.bz2
forgot about a otabwidget speciality
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditordialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp
index be23eff..3843943 100644
--- a/noncore/apps/opie-console/profileeditordialog.cpp
+++ b/noncore/apps/opie-console/profileeditordialog.cpp
@@ -94,48 +94,49 @@ void ProfileEditorDialog::initUI()
// layouting
QVBoxLayout *vbox3 = new QVBoxLayout(tabprof, 2);
vbox3->add(name);
vbox3->add(name_line);
vbox3->addStretch(1);
QVBoxLayout *vbox = new QVBoxLayout(tabconn, 2);
vbox->add(device);
vbox->add(device_box);
vbox->add(plugin_base);
vbox->add(conn_widget);
vbox->setStretchFactor(device, 1);
vbox->setStretchFactor(device_box, 1);
vbox->setStretchFactor(plugin_base, 1);
vbox->setStretchFactor(conn_widget, 7);
QVBoxLayout *vbox2 = new QVBoxLayout(tabterm, 2);
vbox2->add(term_widget);
tabWidget->addTab(tabprof, "", QObject::tr("Profile"));
tabWidget->addTab(tabconn, "", QObject::tr("Connection"));
tabWidget->addTab(tabterm, "", QObject::tr("Terminal"));
+ tabWidget->setCurrentTab( tabprof );
// load profile values
name_line->setText(m_prof.name());
for(int i = 0; i < device_box->count(); i++)
{
device_box->setCurrentItem(i);
if(prof_type() == m_prof.ioLayerName())
{
slotDevice(i);
break;
}
}
// signals
connect(device_box, SIGNAL(activated(int)), SLOT(slotDevice(int)));
}
ProfileEditorDialog::~ProfileEditorDialog() {
}
void ProfileEditorDialog::slotDevice(int id)
{
delete plugin_plugin;