[Digikam-devel] extragear/graphics/digikam/utilities/searchwindow

Gilles Caulier caulier.gilles at gmail.com
Tue Apr 1 10:06:23 BST 2008


SVN commit 792471 by cgilles:

digiKam from trunk : fix Crash when starting new Advanced Search tool from Marcel...

This is the same problem here than from Statusbar : KLineEdit. Using QLineEdit instead work fine !!!

Problem is relavnt of stylesheet applied to KLineEdit with Qt4.3. Note than QT 4.2, no crash appears...

There is a _serious_ problem here which must be fixed in KDELibs before next stable KDE release.

CCMAIL: marcel.wiesweg at gmx.de
CCMAIL: montel at kde.org
CCMAIL: digikam-devel at kde.org



 M  +1 -1      searchfields.cpp  
 M  +1 -1      searchfields.h  


--- trunk/extragear/graphics/digikam/utilities/searchwindow/searchfields.cpp #792470:792471
@@ -474,7 +474,7 @@
 
 void SearchFieldText::setupValueWidgets(QGridLayout *layout, int row, int column)
 {
-    m_edit = new KLineEdit;
+    m_edit = new QLineEdit;
     layout->addWidget(m_edit, row, column, 1, 3);
 }
 
--- trunk/extragear/graphics/digikam/utilities/searchwindow/searchfields.h #792470:792471
@@ -106,7 +106,7 @@
 
 protected:
 
-    KLineEdit *m_edit;
+    QLineEdit *m_edit;
 };
 
 class SearchFieldRangeInt : public SearchField



More information about the Digikam-devel mailing list