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) {
flashDuration = 0;
}
QApplication::alert(getApp()->windows->getMainWindow().window(),
flashDuration);
QApplication::alert(this->getMainWindow().window(), flashDuration);
}
void WindowManager::encodeNodeRecusively(SplitNode *node, QJsonObject &obj)