Revision: 6979
Author: nogu.dev
Date: Thu Mar 10 06:00:23 2011
Log: * Merge r6937 from trunk.
http://code.google.com/p/uim/source/detail?r=6979

Modified:
 /branches/1.6/qt4/toolbar/standalone-qt4.cpp

=======================================
--- /branches/1.6/qt4/toolbar/standalone-qt4.cpp        Thu Jan  6 18:17:32 2011
+++ /branches/1.6/qt4/toolbar/standalone-qt4.cpp        Thu Mar 10 06:00:23 2011
@@ -63,7 +63,6 @@

     adjustSize();
     handler = new UimToolbarDraggingHandler( this );
-    layout->addWidget( handler );
     handler->adjustSize();
     handler->show();
     connect( handler, SIGNAL( handleDoubleClicked() ),
@@ -71,7 +70,6 @@


     toolbar = new QUimHelperToolbar( this );
-    layout->addWidget( toolbar );
     toolbar->adjustSize();
     toolbar->show();
connect( toolbar, SIGNAL( toolbarResized() ), this, SLOT( slotToolbarResized() ) );
@@ -94,6 +92,9 @@
                       QApplication::instance(), SLOT( quit() ) );

     show();
+
+    layout->addWidget( handler );
+    layout->addWidget( toolbar );
 }
 UimStandaloneToolbar::~UimStandaloneToolbar()
 {

Reply via email to