Hi!

Christian B Wiik <[EMAIL PROTECTED]> wrote:
> Easy reproducable:
> 1. Select "Away".
> 2. Press "Select" button and leave the dropdown open.
> 3. Wait till timer reaches zero.

Works for me, the timer stops when the dropdown menu is opened.

Which version of Qt (and possibly KDE?) are you running and which theme
(Platinum/Motif/Keramik/...) is active?

Please try the attached patch (in addition to the original patch), this
*might* fix the segfault (well, wild guess...).
--- plugins/qt-gui/src/awaymsgdlg.cpp.old	2005-05-09 23:14:25.000000000 +0200
+++ plugins/qt-gui/src/awaymsgdlg.cpp	2005-05-09 23:14:31.000000000 +0200
@@ -246,7 +246,7 @@
     btnOk->setText(tr("(Closing in %1)").arg(m_autocloseCounter));
     m_autocloseCounter--;
     if (m_autocloseCounter < 0)
-      ok();
+      QTimer::singleShot(0, this, SLOT(ok()));
     else
       QTimer::singleShot(1000, this, SLOT(slot_autocloseTick()));
   }
ciao
  Jörg

Reply via email to