[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/lib/konq
From: David Faure <faure () kde ! org>
Date: 2009-04-02 1:48:07
Message-ID: 1238636887.645441.3057.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 948036 by dfaure:
fix uninit var, and add missing copy ctor (now that this class has a d pointer)
M +12 -1 konq_historyentry.cpp
M +2 -0 konq_historyentry.h
--- trunk/KDE/kdebase/apps/lib/konq/konq_historyentry.cpp #948035:948036
@@ -21,7 +21,7 @@
#include "konq_historyentry.h"
KonqHistoryEntry::KonqHistoryEntry()
- : d(0)
+ : numberOfTimesVisited(1), d(0)
{
}
@@ -68,3 +68,14 @@
s << firstVisited;
s << lastVisited;
}
+
+KonqHistoryEntry::KonqHistoryEntry(const KonqHistoryEntry& e)
+{
+ url = e.url;
+ typedUrl = e.typedUrl;
+ title = e.title;
+ numberOfTimesVisited = e.numberOfTimesVisited;
+ firstVisited = e.firstVisited;
+ lastVisited = e.lastVisited;
+ d = 0;
+}
--- trunk/KDE/kdebase/apps/lib/konq/konq_historyentry.h #948035:948036
@@ -39,6 +39,8 @@
QDateTime firstVisited;
QDateTime lastVisited;
+ KonqHistoryEntry(const KonqHistoryEntry& e);
+
// Necessary for QList (on Windows)
bool operator==(const KonqHistoryEntry& entry) const;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic