[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/libs/guiutils
From:       Thomas Zander <zander () kde ! org>
Date:       2009-01-04 10:34:44
Message-ID: 1231065284.453955.11642.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 905345 by zander:

Fixes:kword crashes when cancelling print dialog
BUG:175226
Details: don't cancel the action when its never been started.

 M  +2 -1      KoPrintingDialog.cpp  


--- trunk/koffice/libs/guiutils/KoPrintingDialog.cpp #905344:905345
@@ -39,7 +39,7 @@
 public:
     KoPrintingDialogPrivate(KoPrintingDialog *dia)
         : parent(dia),
-        stop(false),
+        stop(true),
         shapeManager(0),
         painter(0),
         printer(new QPrinter()),
@@ -106,6 +106,7 @@
             painter->end();
         delete painter;
         painter = 0;
+        stop = false;
     }
 
     void printPage(const QVariant &page) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic