diff --git a/src/generalpage.cpp b/src/generalpage.cpp index 1a4a255..f5c6fac 100644 --- a/src/generalpage.cpp +++ b/src/generalpage.cpp @@ -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); }