Stop crashing after right-clicking a KPart entry.
This commit fixes a crash introduced by commit ed3ea7db. When previewing an archive inside another archive, factory() returns a null pointer and thus the context menu can't be showed there after a right-click. BUG: 341809 FIXED-IN: 14.12.1 REVIEW: 121468
Showing with 4 additions and 0 deletions