Added rotate button for doc images to touchbar for media view overlay.
This commit is contained in:
		
							parent
							
								
									8aafe6ba0e
								
							
						
					
					
						commit
						df155f6cb5
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -2131,6 +2131,7 @@ void OverlayWidget::displayDocument(
 | 
				
			||||||
					const auto &path = location.name();
 | 
										const auto &path = location.name();
 | 
				
			||||||
					if (QImageReader(path).canRead()) {
 | 
										if (QImageReader(path).canRead()) {
 | 
				
			||||||
						_staticContent = PrepareStaticImage(path);
 | 
											_staticContent = PrepareStaticImage(path);
 | 
				
			||||||
 | 
											_touchbarDisplay.fire(TouchBarItemType::Photo);
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				location.accessDisable();
 | 
									location.accessDisable();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue