summaryrefslogtreecommitdiff
authorpaule <paule>2007-01-28 06:42:33 (UTC)
committer paule <paule>2007-01-28 06:42:33 (UTC)
commit8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff (patch) (unidiff)
tree905cad7f0c3996aaf389242785be67bd6662efda
parentb17ca0982b26c0f18ccd3113906206f8fb49df2a (diff)
downloadopie-8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff.zip
opie-8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff.tar.gz
opie-8cf13e6845fa0159fb7f864bf5d3c5c0a62188ff.tar.bz2
Correctly select first remote upon loading configuration
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/topgroup.cpp6
-rw-r--r--noncore/tools/remote/topgroup.h1
-rw-r--r--noncore/tools/remote/topgroupconf.cpp1
3 files changed, 6 insertions, 2 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
@@ -50,3 +50,2 @@ void TopGroup::updateRemotes(Config *cfg)
50 remotes->clear(); 50 remotes->clear();
51 remotes->insertItem(QString("SelectRemote"));
52 cfg->setGroup("Remotes"); 51 cfg->setGroup("Remotes");
@@ -54 +53,6 @@ void TopGroup::updateRemotes(Config *cfg)
54} 53}
54
55QString TopGroup::getRemotesText()
56{
57 return remotes->currentText();
58}
diff --git a/noncore/tools/remote/topgroup.h b/noncore/tools/remote/topgroup.h
index 215292d..091ac14 100644
--- a/noncore/tools/remote/topgroup.h
+++ b/noncore/tools/remote/topgroup.h
@@ -28,2 +28,3 @@ public:
28 void updateRemotes(Config *cfg); 28 void updateRemotes(Config *cfg);
29 QString getRemotesText();
29private: 30private:
diff --git a/noncore/tools/remote/topgroupconf.cpp b/noncore/tools/remote/topgroupconf.cpp
index 0419a65..7df4d18 100644
--- a/noncore/tools/remote/topgroupconf.cpp
+++ b/noncore/tools/remote/topgroupconf.cpp
@@ -35,3 +35,2 @@ TopGroupConf::TopGroupConf(QWidget *parent, const char *name):QWidget(parent,nam
35 remotes = new QComboBox(true, this, "remotes"); 35 remotes = new QComboBox(true, this, "remotes");
36 remotes->insertItem(QString("Remotes"));
37 layout->addWidget(remotes); 36 layout->addWidget(remotes);