projects
/
irwi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://mercury/var/git/irwi
[irwi]
/
src
/
selectremotedlg.cpp
diff --git
a/src/selectremotedlg.cpp
b/src/selectremotedlg.cpp
index
b6fefb2
..
9c8b009
100644
(file)
--- a/
src/selectremotedlg.cpp
+++ b/
src/selectremotedlg.cpp
@@
-80,8
+80,7
@@
void SelectRemoteDlg::alphabetItemChanged(QListWidgetItem *current,
{
mfgList->clear();
modelList->removeAllRows();
{
mfgList->clear();
modelList->removeAllRows();
- if (current)
- {
+ if (current) {
mfgList->addItems((*remoteDB)[current->text()].keys());
}
}
mfgList->addItems((*remoteDB)[current->text()].keys());
}
}
@@
-90,8
+89,7
@@
void SelectRemoteDlg::mfgItemChanged(QListWidgetItem *current,
QListWidgetItem * /*previous*/)
{
modelList->removeAllRows();
QListWidgetItem * /*previous*/)
{
modelList->removeAllRows();
- if (current)
- {
+ if (current) {
RemoteList remotes =
(*remoteDB)[alphabetList->currentItem()->text()][current->text()];
foreach(Remote *remote, remotes) {
RemoteList remotes =
(*remoteDB)[alphabetList->currentItem()->text()][current->text()];
foreach(Remote *remote, remotes) {
@@
-103,8
+101,8
@@
void SelectRemoteDlg::mfgItemChanged(QListWidgetItem *current,
void SelectRemoteDlg::downloadRemote()
{
Remote *currentModel = modelList->selected();
void SelectRemoteDlg::downloadRemote()
{
Remote *currentModel = modelList->selected();
- if (currentModel)
- {
+ if (currentModel) {
+ setResult(QDialog::Accepted);
setBusy();
connect(currentModel, SIGNAL(saveFinished()),
this, SLOT(close()));
setBusy();
connect(currentModel, SIGNAL(saveFinished()),
this, SLOT(close()));