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

List:       kde-commits
Subject:    playground/utils/kregexpeditor
From:       Pino Toscano <pino () kde ! org>
Date:       2011-01-16 16:57:24
Message-ID: 20110116165724.B85C83E1F2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1214844 by pino:

place the error icon correctly, ie next to the regexp line edit


 M  +2 -2      kregexpeditorprivate.cpp  


--- trunk/playground/utils/kregexpeditor/kregexpeditorprivate.cpp #1214843:1214844
@@ -177,9 +177,9 @@
 				      "editor, and by typing the regular expression in this line edit.</p>") );
   
   QPixmap pix = KIconLoader::global()->loadIcon(KStandardDirs::locate("data", \
                QString::fromLatin1("kregexpeditor/pics/error.png") ), \
                KIconLoader::Toolbar );
-  _error = new QLabel( this );
+  _error = new QLabel( editDockWidget );
   _error->setPixmap( pix );
-  layout->addWidget( _error );
+  dockLayout->addWidget( _error );
   _error->hide();
 
   _timer = new QTimer(this);


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

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