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

List:       kde-commits
Subject:    kdebase/konqueror/listview
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2004-12-25 12:04:58
Message-ID: 20041225120458.6E4961CE87 () office ! kde ! org
[Download RAW message or body]

CVS commit by mkoller: 

call setInstance() first (needed for i18n), but loadPlugins() last
(to already have the widget set)


  M +4 -1      konq_listview.cc   1.220


--- kdebase/konqueror/listview/konq_listview.cc  #1.219:1.220
@@ -201,4 +201,6 @@ KonqListView::KonqListView( QWidget *par
 ,m_headerTimer(0)
 {
+   setInstance( KonqListViewFactory::instance(), false );
+
    // Create a properties instance for this view
    // All the listview view modes inherit the same properties defaults...
@@ -238,5 +240,4 @@ KonqListView::KonqListView( QWidget *par
    m_mimeTypeResolver = new KMimeTypeResolver<KonqBaseListViewItem,KonqListView>(this);
 
-   setInstance( KonqListViewFactory::instance() );
    setXMLFile( xmlFile );
 
@@ -272,4 +273,6 @@ KonqListView::KonqListView( QWidget *par
    connect( this, SIGNAL( findOpened( KonqDirPart * ) ), SLOT( slotKFindOpened() ) );
    connect( this, SIGNAL( findClosed( KonqDirPart * ) ), SLOT( slotKFindClosed() ) );
+
+   loadPlugins( this, this, instance() );
 }
 


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

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