Commit 92bc47ae authored by Kurt Hindenburg's avatar Kurt Hindenburg

Allow changing window icon only upon valid icon

Patch from rjvbertin gmail com
parent bb0c7a3d
......@@ -271,7 +271,7 @@ void MainWindow::updateWindowCaption()
void MainWindow::updateWindowIcon()
if (_pluggedController)
if (_pluggedController && !_pluggedController->icon().isNull())
Markdown is supported
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