remove unnecessary getApp call

This commit is contained in:
Rasmus Karlsson 2018-10-07 13:37:17 +00:00
parent 2d3ce59b8b
commit b720450f86

View file

@ -450,8 +450,7 @@ void WindowManager::sendAlert()
if (getSettings()->longAlerts) { if (getSettings()->longAlerts) {
flashDuration = 0; flashDuration = 0;
} }
QApplication::alert(getApp()->windows->getMainWindow().window(), QApplication::alert(this->getMainWindow().window(), flashDuration);
flashDuration);
} }
void WindowManager::encodeNodeRecusively(SplitNode *node, QJsonObject &obj) void WindowManager::encodeNodeRecusively(SplitNode *node, QJsonObject &obj)