]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/applyviewpropsjob.h
Fix the bug reported by Will. Now this code is also more polite. This was a TODO...
[dolphin.git] / src / applyviewpropsjob.h
index d14e1a787767c382883c4a0b60abc0189fcf95aa..4ffc069a9d9ed4ce33f4dae97458f0779dac78b6 100644 (file)
@@ -17,7 +17,7 @@
  *   You should have received a copy of the GNU General Public License     *
  *   along with this program; if not, write to the                         *
  *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
  ***************************************************************************/
 
 #ifndef APPLYVIEWPROPSJOB_H
@@ -62,10 +62,13 @@ public:
      */
     ApplyViewPropsJob(const KUrl& dir, const ViewProperties& viewProps);
     virtual ~ApplyViewPropsJob();
-    int progress() const { return m_progress; }
+    int progress() const
+    {
+        return m_progress;
+    }
 
 private:
-    void startNextJob(const KUrl & url, const ViewProperties& viewProps);
+    void startNextJob(const KUrl & url);
 
 private slots:
     virtual void slotResult(KJob* job);
@@ -74,7 +77,6 @@ private slots:
 
 private:
     ViewProperties* m_viewProps;
-    KFileItemList m_lstItems;
     int m_currentItem;
     int m_progress;
     KUrl m_dir;