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

List:       kde-commits
Subject:    KDE/kdebase/apps/plasma/applets/folderview
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2008-06-12 8:09:01
Message-ID: 1213258141.341422.2185.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 819811 by aseigo:

* remove an used var
* move more of the initialization to the init list so that it's quicker to check what \
is initialized (or not)


 M  +7 -7      folderview.cpp  
 M  +0 -1      folderview.h  


--- trunk/KDE/kdebase/apps/plasma/applets/folderview/folderview.cpp #819810:819811
@@ -57,7 +57,13 @@
 
 FolderView::FolderView(QObject *parent, const QVariantList &args)
     : Plasma::Containment(parent, args),
-      m_actionCollection(this)
+      m_titleHeight(0),
+      m_newMenu(0),
+      m_actionCollection(this),
+      m_layoutValid(false),
+      m_doubleClick(false),
+      m_dragInProgress(false)
+
 {
     setContainmentType(DesktopContainment);
     setAspectRatioMode(Plasma::IgnoreAspectRatio);
@@ -83,12 +89,6 @@
     m_delegate = new KFileItemDelegate(this);
     m_selectionModel = new QItemSelectionModel(m_model, this);
 
-    m_newMenu = 0;
-    m_layoutValid = false;
-    m_titleHeight = 0;
-    m_doubleClick = false;
-    m_dragInProgress = false;
-
     if ( args.count() ) {
         m_url = KUrl(args.value(0).toString());
     } else {
--- trunk/KDE/kdebase/apps/plasma/applets/folderview/folderview.h #819810:819811
@@ -121,7 +121,6 @@
     QPointF m_buttonDownPos;
     QTime m_pressTime;
     Ui::folderviewConfig ui;
-    bool m_updatesDisabled;
     bool m_doubleClick;
     bool m_dragInProgress;
 };


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

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