summaryrefslogtreecommitdiff
Side-by-side diff
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)
remotes->clear();
- remotes->insertItem(QString("SelectRemote"));
cfg->setGroup("Remotes");
@@ -54 +53,6 @@ void TopGroup::updateRemotes(Config *cfg)
}
+
+QString TopGroup::getRemotesText()
+{
+ return remotes->currentText();
+}
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:
void updateRemotes(Config *cfg);
+ QString getRemotesText();
private:
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
remotes = new QComboBox(true, this, "remotes");
- remotes->insertItem(QString("Remotes"));
layout->addWidget(remotes);