Don't suggest shrinking media of direct photo links.
This commit is contained in:
		
							parent
							
								
									eaf30d58be
								
							
						
					
					
						commit
						e64a096dca
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -254,7 +254,13 @@ bool WebPageData::applyChanges( | ||||||
| 		} | 		} | ||||||
| 		return QString(); | 		return QString(); | ||||||
| 	}(); | 	}(); | ||||||
| 	if (newDocument || !newCollage.items.empty() || !newPhoto) { | 	const auto hasSiteName = !resultSiteName.isEmpty() ? 1 : 0; | ||||||
|  | 	const auto hasTitle = !resultTitle.isEmpty() ? 1 : 0; | ||||||
|  | 	const auto hasDescription = !newDescription.text.isEmpty() ? 1 : 0; | ||||||
|  | 	if (newDocument | ||||||
|  | 		|| !newCollage.items.empty() | ||||||
|  | 		|| !newPhoto | ||||||
|  | 		|| (hasSiteName + hasTitle + hasDescription < 2)) { | ||||||
| 		newHasLargeMedia = false; | 		newHasLargeMedia = false; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 John Preston
						John Preston