mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
kdeplasma-addons: read settings before checking if exchange rates should be updated
fixes exchange rates update on startup Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ee21f0012a
commit
36d6b9b204
1 changed files with 1 additions and 1 deletions
|
@ -82,10 +82,10 @@ QalculateApplet::~QalculateApplet()
|
|||
|
||||
void QalculateApplet::init()
|
||||
{
|
||||
m_settings->readSettings();
|
||||
if (m_settings->updateExchangeRatesAtStartup()) {
|
||||
m_engine->updateExchangeRates();
|
||||
}
|
||||
m_settings->readSettings();
|
||||
m_history->setHistoryItems(m_settings->historyItems());
|
||||
|
||||
graphicsWidget();
|
||||
|
|
Loading…
Add table
Reference in a new issue