mirror of
				https://github.com/YACReader/yacreader
				synced 2025-10-31 00:04:26 -04:00 
			
		
		
		
	Use non deprecated QStandardPaths and remove Qt4 alternative
This commit is contained in:
		| @ -4,11 +4,7 @@ using namespace YACReader; | ||||
|  | ||||
| QString YACReader::getSettingsPath() | ||||
| { | ||||
| #if QT_VERSION >= 0x050000 | ||||
|     return QStandardPaths::writableLocation(QStandardPaths::DataLocation); | ||||
| #else | ||||
|     return QDesktopServices::storageLocation(QDesktopServices::DataLocation); | ||||
| #endif | ||||
|     return QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation); | ||||
| } | ||||
|  | ||||
| QString YACReader::colorToName(LabelColors colors) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user