[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdepim/akregator/plugins/onlinesync/ui
From: Frank Osterfeld <frank.osterfeld () kdemail ! net>
Date: 2009-03-25 10:28:49
Message-ID: 1237976929.168708.23628.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 944218 by osterfeld:
backport:
r944015 | osterfeld | 2009-03-24 20:59:43 +0000 (Tue, 24 Mar 2009) | 8 lines
Fix buttons in online reader config
Patch by Haakon Nilsen:
"The attached patch fixes the Ok button and refreshes the list of readers when
it is pressed. It also fixes the Remove button, which had a similar refresh
issue."
CCBUG:167207
M +1 -0 configurationdialogadd.cpp
M +4 -3 configurationwidget.cpp
--- branches/KDE/4.2/kdepim/akregator/plugins/onlinesync/ui/configurationdialogadd.cpp #944217:944218
@@ -97,6 +97,7 @@
generalGroup.writeEntry( "Identifier", url.url() );
generalGroup.config()->sync();
}
+ done( KDialog::Ok );
}
void ConfigurationDialogAdd::load( const KConfigGroup& group )
--- branches/KDE/4.2/kdepim/akregator/plugins/onlinesync/ui/configurationwidget.cpp #944217:944218
@@ -129,11 +129,12 @@
QList<QTreeWidgetItem *> m_items = ui.list_readerList->selectedItems();
if ( !m_items.isEmpty() ) {
kDebug() << m_items.at(0)->text(2);
- KConfig config("akregator_feedsyncrc");
- config.deleteGroup(m_items.at(0)->text(2));
+ {
+ KConfig config("akregator_feedsyncrc");
+ config.deleteGroup(m_items.at(0)->text(2));
+ }
refresh();
}
-
}
void ConfigurationWidget::save() {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic