summaryrefslogtreecommitdiff
Unidiff
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
@@ -102,32 +102,33 @@ void ProfileEditorDialog::initUI()
102 QVBoxLayout *vbox = new QVBoxLayout(tabconn, 2); 102 QVBoxLayout *vbox = new QVBoxLayout(tabconn, 2);
103 vbox->add(device); 103 vbox->add(device);
104 vbox->add(device_box); 104 vbox->add(device_box);
105 vbox->add(plugin_base); 105 vbox->add(plugin_base);
106 vbox->add(conn_widget); 106 vbox->add(conn_widget);
107 vbox->setStretchFactor(device, 1); 107 vbox->setStretchFactor(device, 1);
108 vbox->setStretchFactor(device_box, 1); 108 vbox->setStretchFactor(device_box, 1);
109 vbox->setStretchFactor(plugin_base, 1); 109 vbox->setStretchFactor(plugin_base, 1);
110 vbox->setStretchFactor(conn_widget, 7); 110 vbox->setStretchFactor(conn_widget, 7);
111 111
112 QVBoxLayout *vbox2 = new QVBoxLayout(tabterm, 2); 112 QVBoxLayout *vbox2 = new QVBoxLayout(tabterm, 2);
113 vbox2->add(term_widget); 113 vbox2->add(term_widget);
114 114
115 tabWidget->addTab(tabprof, "", QObject::tr("Profile")); 115 tabWidget->addTab(tabprof, "", QObject::tr("Profile"));
116 tabWidget->addTab(tabconn, "", QObject::tr("Connection")); 116 tabWidget->addTab(tabconn, "", QObject::tr("Connection"));
117 tabWidget->addTab(tabterm, "", QObject::tr("Terminal")); 117 tabWidget->addTab(tabterm, "", QObject::tr("Terminal"));
118 tabWidget->setCurrentTab( tabprof );
118 119
119 // load profile values 120 // load profile values
120 name_line->setText(m_prof.name()); 121 name_line->setText(m_prof.name());
121 for(int i = 0; i < device_box->count(); i++) 122 for(int i = 0; i < device_box->count(); i++)
122 { 123 {
123 device_box->setCurrentItem(i); 124 device_box->setCurrentItem(i);
124 if(prof_type() == m_prof.ioLayerName()) 125 if(prof_type() == m_prof.ioLayerName())
125 { 126 {
126 slotDevice(i); 127 slotDevice(i);
127 break; 128 break;
128 } 129 }
129 } 130 }
130 131
131 // signals 132 // signals
132 connect(device_box, SIGNAL(activated(int)), SLOT(slotDevice(int))); 133 connect(device_box, SIGNAL(activated(int)), SLOT(slotDevice(int)));
133} 134}