forked from qt-creator/qt-creator
		
	ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX - clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise) - use proper #if-#else cascades instead of free-standing #ifs
This commit is contained in:
		| @@ -48,7 +48,7 @@ static const bool DEFAULT_ANTIALIAS = true; | ||||
|     enum { DEFAULT_FONT_SIZE = 12 }; | ||||
|     static const char *DEFAULT_FONT_FAMILY = "Monaco"; | ||||
| #else | ||||
| #ifdef Q_OS_UNIX | ||||
| #ifdef Q_WS_X11 | ||||
|     enum { DEFAULT_FONT_SIZE = 9 }; | ||||
|     static const char *DEFAULT_FONT_FAMILY = "Monospace"; | ||||
| #else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user