Adjust to changes in the UI

This commit is contained in:
Luca Beltrame 2015-02-12 00:18:54 +01:00
parent 7af2981e41
commit 1127033e47

View file

@ -32,10 +32,10 @@ namespace Danbooru {
GeneralPage::GeneralPage(DanbooruSettings* preferences, QWidget* parent): QWidget(parent)
{
setupUi(this);
kcfg_boards->insertStringList(preferences->boards());
kcfg_Boards->insertStringList(preferences->boards());
QRegularExpression regex(urlRegex);
QRegularExpressionValidator* validator = new QRegularExpressionValidator(regex);
kcfg_boards->lineEdit()->setValidator(validator);
kcfg_Boards->lineEdit()->setValidator(validator);
}