LMMS/lmms — pull request #166 by wongcc966422 (2014-01-26 11:45:26+00:00)
Title: Fixes segfault when clearSelection() is called with a new instance of FileDialog

The `static` keyword makes `view` is assigned once only.
If `firstFileDialog` is destructed and `newFileDialog->clearSelection()` is called. Then `view` would become a dangling pointer, which may cause segfault.