Commit 403d7558 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Add overlay icon in windows if text is empty

 ... not if it is null.
parent 5a2926b0
......@@ -85,7 +85,7 @@ void Core::Internal::ProgressManagerPrivate::setApplicationLabel(const QString &
WId winId = Core::ICore::instance()->mainWindow()->winId();
if (text.isNull()) {
if (text.isEmpty()) {
pITask->SetOverlayIcon(winId, NULL, NULL);
} else {
QPixmap pix = QPixmap(":/projectexplorer/images/compile_error.png");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment