Adjust to changes in the UI
This commit is contained in:
		
					parent
					
						
							
								7af2981e41
							
						
					
				
			
			
				commit
				
					
						1127033e47
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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);
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue