Commit 99d3dbe8 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Show APN string for the APN seleted by the user in Mobile Connection

Wizard.
Thanks Swami Dhyan Nataraj (Nikolay Shaplov) for this patch.

BUG: 291798
parent 149ccd25
#ifndef PLASMA_NM_VERSION_H
#define PLASMA_NM_VERSION_H
static const char * plasmaNmVersion = "0.9.0_rc3 (nm09 20120110)";
static const char * plasmaNmVersion = "0.9.0_rc3 (nm09 20120117)";
#endif
......@@ -526,8 +526,10 @@ void MobileConnectionWizard::slotEnablePlanEditBox(const QString & text)
userApn->setEnabled(true);
} else {
if (mProvidersList->currentItem() != 0) {
int i = mPlanComboBox->currentIndex();
if (i>0) i=i-1; // Skiping the separator (i==1)
QStringList mApns = mProviders->getApns(mProvidersList->currentItem()->text());
userApn->setText(mApns.at(0));
userApn->setText(mApns.at(i));
}
userApn->setEnabled(false);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment