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

List:       kwrite-devel
Subject:    [Bug 147195] kate systematically crashes on exit
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2007-06-26 8:36:18
Message-ID: 20070626083618.1049.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147195         
dhdev gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From dhdev gmx de  2007-06-26 10:36 -------
jo, fixed ;)

--- branches/KDE/3.5/kdebase/kate/app/katesession.cpp #676114:676115
 @ -381,13 +381,13  @
 
     if (sesExit == "ask")
     {
-      KDialogBase dlg( i18n ("Save Session?")
+      KDialogBase* dlg = new KDialogBase(i18n ("Save Session?")
                      , KDialogBase::Yes | KDialogBase::No
                      , KDialogBase::Yes, KDialogBase::No
                      );
 
       bool dontAgain = false;
-      int res = KMessageBox::createKMessageBox(&dlg, QMessageBox::Question,
+      int res = KMessageBox::createKMessageBox(dlg, QMessageBox::Question,
                               i18n("Save current session?"), QStringList(),
                               i18n("Do not ask again"), &dontAgain, KMessageBox::Notify);
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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