forked from quickshell/quickshell
		
	ci: run lints and test compile on arch
This commit is contained in:
		
							parent
							
								
									9b409c0e38
								
							
						
					
					
						commit
						e957e88ccb
					
				
					 8 changed files with 86 additions and 28 deletions
				
			
		| 
						 | 
				
			
			@ -626,7 +626,8 @@ start:
 | 
			
		|||
		if (next == EncodedLogOpcode::RegisterCategory) {
 | 
			
		||||
			if (!this->registerCategory()) return false;
 | 
			
		||||
			goto start;
 | 
			
		||||
		} else if (next == EncodedLogOpcode::RecentMessageShort || next == EncodedLogOpcode::RecentMessageLong)
 | 
			
		||||
		} else if (next == EncodedLogOpcode::RecentMessageShort
 | 
			
		||||
		           || next == EncodedLogOpcode::RecentMessageLong)
 | 
			
		||||
		{
 | 
			
		||||
			quint8 index = 0;
 | 
			
		||||
			quint32 secondDelta = 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -85,9 +85,7 @@ class ObjectModel: public UntypedObjectModel {
 | 
			
		|||
public:
 | 
			
		||||
	explicit ObjectModel(QObject* parent): UntypedObjectModel(parent) {}
 | 
			
		||||
 | 
			
		||||
	[[nodiscard]] QVector<T*>& valueList() {
 | 
			
		||||
		return *std::bit_cast<QVector<T*>*>(&this->valuesList);
 | 
			
		||||
	}
 | 
			
		||||
	[[nodiscard]] QVector<T*>& valueList() { return *std::bit_cast<QVector<T*>*>(&this->valuesList); }
 | 
			
		||||
 | 
			
		||||
	[[nodiscard]] const QVector<T*>& valueList() const {
 | 
			
		||||
		return *std::bit_cast<const QVector<T*>*>(&this->valuesList);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -366,7 +366,7 @@ void XPanelWindow::getExclusion(int& side, quint32& exclusiveZone) {
 | 
			
		|||
		{
 | 
			
		||||
			side = anchors.mLeft ? 0 : anchors.mRight ? 1 : -1;
 | 
			
		||||
		} else if (!anchors.verticalConstraint()
 | 
			
		||||
						 && (anchors.horizontalConstraint() || (!anchors.mLeft && !anchors.mRight)))
 | 
			
		||||
		           && (anchors.horizontalConstraint() || (!anchors.mLeft && !anchors.mRight)))
 | 
			
		||||
		{
 | 
			
		||||
			side = anchors.mTop ? 2 : anchors.mBottom ? 3 : -1;
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue