deactivate kmessagebox errors for now because if a thumbnail generation in threads causes an error it pops a kmessagebox and kills kpdf. Hope the experiments branch Enrico is working on will make that easier to fix

svn path=/trunk/kdegraphics/kpdf/; revision=345256
remotes/origin/kpdf-3.4
Albert Astals Cid 22 years ago
parent 50cbd3999a
commit 7f8bc10a45
  1. 2
      kpdf/TODO
  2. 3
      kpdf/kpdf_error.cpp

@ -1,6 +1,6 @@
Personal Albert's list
-> make links functional
-> improve thumbnail generation to make it non-gui blocking
-> Activate errors again having in mind a thread (thumbnail) can generate an error and that will make a kmessagbox appear and kill kpdf
More items
-> merge lots of kpdf_part and part (centralview) code (to simplify/clenup)

@ -65,7 +65,8 @@ void CDECL error(int pos, const char *msg, ...) {
emsg += buffer;
if (!errors::exists(emsg))
{
KMessageBox::error(0, emsg);
// TODO think a way to avoid threads can popup that
// KMessageBox::error(0, emsg);
errors::add(emsg);
}
}

Loading…
Cancel
Save