Diffstat (limited to 'noncore/tools/remote/topgroup.cpp') (more/less context) (ignore 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 @@ -43,12 +43,16 @@ TopGroup::TopGroup(QWidget *parent, const char *name):QWidget(parent,name) layout->addWidget(remoteLabel); layout->addWidget(remotes); } void TopGroup::updateRemotes(Config *cfg) { remotes->clear(); - remotes->insertItem(QString("SelectRemote")); cfg->setGroup("Remotes"); remotes->insertStringList(cfg->readListEntry("remoteList", ',') ); } + +QString TopGroup::getRemotesText() +{ + return remotes->currentText(); +} |