Skip to content

Fix annoying assert on Windows when a new document is present

Morten Volden requested to merge volden/kdevelop:fixWinAssert into master

Fix annoying assert on Windows.

When a new document is created documentcontroller will create path with an empty string. That will cause two asserts pr. new file on Windows when compiled in debug mode.

Alternate solution to this could be to make documentcontroller not use an empty path for a new document. But I am a little unsure about the consequences of doing that.

Merge request reports