mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Use maybe_unused instead of Q_UNUSED
This commit is contained in:
		
							parent
							
								
									62a69e0547
								
							
						
					
					
						commit
						db0383fe0e
					
				
					 11 changed files with 26 additions and 42 deletions
				
			
		|  | @ -4,11 +4,9 @@ | |||
| 
 | ||||
| #include "citra_qt/util/clickable_label.h" | ||||
| 
 | ||||
| ClickableLabel::ClickableLabel(QWidget* parent, Qt::WindowFlags f) : QLabel(parent) { | ||||
|     Q_UNUSED(f); | ||||
| } | ||||
| ClickableLabel::ClickableLabel(QWidget* parent, [[maybe_unused]] Qt::WindowFlags f) | ||||
|     : QLabel(parent) {} | ||||
| 
 | ||||
| void ClickableLabel::mouseReleaseEvent(QMouseEvent* event) { | ||||
|     Q_UNUSED(event); | ||||
| void ClickableLabel::mouseReleaseEvent([[maybe_unused]] QMouseEvent* event) { | ||||
|     emit clicked(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue