Implement automatic database refresh on root category listing.
This commit is contained in:
@@ -174,6 +174,9 @@ void ConfigWidget::setDefaultData()
|
||||
bool ignorexml = settings.value("ignorexml", true).toBool();
|
||||
ui->ignorexmlCheck->setChecked(ignorexml);
|
||||
|
||||
bool autorefresh = settings.value("autorefresh", false).toBool();
|
||||
ui->refreshCheck->setChecked(autorefresh);
|
||||
|
||||
QString versiontype = settings.value("versiontype", "zero").toString();
|
||||
QString customVersion = settings.value("customversion", "00.000.000").toString();
|
||||
|
||||
@@ -285,7 +288,7 @@ void ConfigWidget::accept()
|
||||
settings.setValue("versiontype", "custom");
|
||||
|
||||
settings.setValue("ignorexml", ui->ignorexmlCheck->isChecked());
|
||||
|
||||
settings.setValue("autorefresh", ui->refreshCheck->isChecked());
|
||||
settings.setValue("customversion", ui->psversionEdit->text());
|
||||
|
||||
bool ok;
|
||||
|
@@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>519</width>
|
||||
<height>559</height>
|
||||
<height>577</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@@ -357,6 +357,16 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="refreshCheck">
|
||||
<property name="text">
|
||||
<string>Automatic database refresh (experimental)</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="ignorexmlCheck">
|
||||
<property name="text">
|
||||
|
Reference in New Issue
Block a user