author | paule <paule> | 2007-01-28 06:42:33 (UTC) |
---|---|---|
committer | paule <paule> | 2007-01-28 06:42:33 (UTC) |
commit | 8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff (patch) (unidiff) | |
tree | 905cad7f0c3996aaf389242785be67bd6662efda /noncore/tools/remote/topgroup.cpp | |
parent | b17ca0982b26c0f18ccd3113906206f8fb49df2a (diff) | |
download | opie-8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff.zip opie-8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff.tar.gz opie-8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff.tar.bz2 |
Correctly select first remote upon loading configuration
Diffstat (limited to 'noncore/tools/remote/topgroup.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/remote/topgroup.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/tools/remote/topgroup.cpp b/noncore/tools/remote/topgroup.cpp index 427cb8f..7f2366b 100644 --- a/noncore/tools/remote/topgroup.cpp +++ b/noncore/tools/remote/topgroup.cpp | |||
@@ -47,8 +47,12 @@ TopGroup::TopGroup(QWidget *parent, const char *name):QWidget(parent,name) | |||
47 | 47 | ||
48 | void TopGroup::updateRemotes(Config *cfg) | 48 | void TopGroup::updateRemotes(Config *cfg) |
49 | { | 49 | { |
50 | remotes->clear(); | 50 | remotes->clear(); |
51 | remotes->insertItem(QString("SelectRemote")); | ||
52 | cfg->setGroup("Remotes"); | 51 | cfg->setGroup("Remotes"); |
53 | remotes->insertStringList(cfg->readListEntry("remoteList", ',') ); | 52 | remotes->insertStringList(cfg->readListEntry("remoteList", ',') ); |
54 | } | 53 | } |
54 | |||
55 | QString TopGroup::getRemotesText() | ||
56 | { | ||
57 | return remotes->currentText(); | ||
58 | } | ||