refactored Window
This commit is contained in:
@@ -27,4 +27,14 @@ const Qt::KeyboardModifiers showResizeHandlesModifiers = Qt::ControlModifier;
|
||||
|
||||
static const char *ANONYMOUS_USERNAME_LABEL ATTR_UNUSED = " - anonymous - ";
|
||||
|
||||
#define return_if(x) \
|
||||
if ((x)) { \
|
||||
return; \
|
||||
}
|
||||
|
||||
#define return_unless(x) \
|
||||
if (!(x)) { \
|
||||
return; \
|
||||
}
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user