forked from quickshell/quickshell
		
	service/tray: fix compile on qt versions older than 6.8
This commit is contained in:
		
							parent
							
								
									ec143d6119
								
							
						
					
					
						commit
						5301227ec1
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -121,3 +121,10 @@ QDebug operator<<(QDebug debug, const DBusSniTooltip& tooltip) {
 | 
			
		|||
 | 
			
		||||
	return debug;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
 | 
			
		||||
QDebug operator<<(QDebug debug, const QDBusObjectPath& path) {
 | 
			
		||||
	debug.nospace() << "QDBusObjectPath(" << path.path() << ")";
 | 
			
		||||
	return debug;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -35,3 +35,7 @@ const QDBusArgument& operator<<(QDBusArgument& argument, const DBusSniTooltip& t
 | 
			
		|||
 | 
			
		||||
QDebug operator<<(QDebug debug, const DBusSniIconPixmap& pixmap);
 | 
			
		||||
QDebug operator<<(QDebug debug, const DBusSniTooltip& tooltip);
 | 
			
		||||
 | 
			
		||||
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
 | 
			
		||||
QDebug operator<<(QDebug debug, const QDBusObjectPath& path);
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue