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

List:       kde-core-devel
Subject:    PATCH: KToolbar (#13215)
From:       Stephan Kulow <coolo () kde ! org>
Date:       2001-01-26 23:18:41
[Download RAW message or body]

Hi!

The extention arrow of KToolbar disappears when you minimize
and restore. The fact that the code for this is hidden in a 
private function of QToolbar makes a fix a bit ugly:

--- ktoolbar.cpp        2001/01/14 03:40:02     1.258
+++ ktoolbar.cpp        2001/01/26 23:17:05
@@ -1366,6 +1366,11 @@ void KToolBar::showEvent( QShowEvent *e
 {
     QToolBar::showEvent( e );
     rebuildLayout();
+#ifdef __GNUC__
+#warning workaround for a QToolbar bug in Qt 2.2.3
+#endif
+    QResizeEvent re(size(), size());
+    QToolBar::resizeEvent(&re);
 }

Can I commit?

Greetings, Stephan

-- 
It's my true belief that people having wishes for the bug report tool
and report it to the author haven't got the idea behind open source.
                                             anonymous KDE developer

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

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