forked from quickshell/quickshell
		
	
							parent
							
								
									3ed39b2a79
								
							
						
					
					
						commit
						8e40112d14
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -51,7 +51,8 @@ void PwDefaultTracker::onMetadataProperty(const char* key, const char* type, con
 | 
			
		|||
	qCDebug(logDefaults).nospace() << "Got default metadata update for " << key << ": "
 | 
			
		||||
	                               << QString(value);
 | 
			
		||||
 | 
			
		||||
	if (strcmp(key, "default.audio.sink") == 0) {
 | 
			
		||||
	if (key == nullptr) return; // NOLINT(bugprone-branch-clone)
 | 
			
		||||
	else if (strcmp(key, "default.audio.sink") == 0) {
 | 
			
		||||
		nodeSetter = &PwDefaultTracker::setDefaultSink;
 | 
			
		||||
		nameSetter = &PwDefaultTracker::setDefaultSinkName;
 | 
			
		||||
	} else if (strcmp(key, "default.audio.source") == 0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue