mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Replace t_assert() with Assert().
Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
@@ -622,7 +622,7 @@ void connect(const char *signal, QObject *object, const char *method) {
|
||||
}
|
||||
|
||||
void launch() {
|
||||
t_assert(application() != 0);
|
||||
Assert(application() != 0);
|
||||
|
||||
float64 dpi = Application::primaryScreen()->logicalDotsPerInch();
|
||||
if (dpi <= 108) { // 0-96-108
|
||||
|
Reference in New Issue
Block a user