mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 12:10:06 +00:00 
			
		
		
		
	get rid of old high_privilege_dialog build
This commit is contained in:
		
							parent
							
								
									87e43a528e
								
							
						
					
					
						commit
						eb3b76dcf4
					
				
					 6 changed files with 4 additions and 195 deletions
				
			
		|  | @ -58,7 +58,7 @@ static const QString message = QObject::tr( | |||
| static const QString message = QObject::tr(""); | ||||
| #endif | ||||
| 
 | ||||
| static const QString title   = QObject::tr("Supercell Wx"); | ||||
| static const QString title = QObject::tr("Supercell Wx"); | ||||
| static const QString checkBoxText = | ||||
|    QObject::tr("Do not show this warning again."); | ||||
| 
 | ||||
|  | @ -88,7 +88,8 @@ public: | |||
|    QCheckBox*  checkBox_; | ||||
| }; | ||||
| 
 | ||||
| PrivilegeChecker::PrivilegeChecker() : p(std::make_unique<PrivilegeChecker::Impl>()) | ||||
| PrivilegeChecker::PrivilegeChecker() : | ||||
|     p(std::make_unique<PrivilegeChecker::Impl>()) | ||||
| { | ||||
| } | ||||
| 
 | ||||
|  | @ -101,7 +102,7 @@ bool PrivilegeChecker::pre_settings_check() | |||
|       return false; | ||||
|    } | ||||
| 
 | ||||
|    int result = p->dialog_.exec(); | ||||
|    int result                  = p->dialog_.exec(); | ||||
|    p->firstCheckCheckBoxState_ = p->checkBox_->isChecked(); | ||||
| 
 | ||||
|    return result != QMessageBox::Yes; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak