kate: add dialog box to catch opening large files
author Michal Humpula
()
committer Michal Humpula
()
commit fe05a0f151223d9c5ebe90fb1a4f6117cd68ee94
tree 07fbadd2f2f67eeeda25d1ed0769e7d230dfbc6a
parent bee39f3f9baf299e71f03ab6cdfeb2697705e81b
kate: add dialog box to catch opening large files

GUI: warns the user if he tries (very probably accidentally)
to open large file (>10MB), which might lead to kate freezing
for a long time.

REVIEW: 114315
kate/app/kateviewmanager.cpp