summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkh <qtc-committer@nokia.com>2009-06-23 11:22:41 +0200
committerkh <qtc-committer@nokia.com>2009-06-23 11:22:41 +0200
commit929c5160fd4ff9dc3601e1a6391bea4806d38730 (patch)
treee1a44bacf2ff36066e2ee1ae39dca6ed79c6f6e4 /tools
parent380ffdefaf4a3c2e25992b193e78ffd207fc2a1c (diff)
Fix missing member initialization.
Reviewed-by: ossi
Diffstat (limited to 'tools')
-rw-r--r--tools/assistant/lib/fulltextsearch/qanalyzer.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qdocument.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qfield.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qfilter.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qhits.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qindexreader.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qindexwriter.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qquery.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qqueryparser.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qreader.cpp3
-rw-r--r--tools/assistant/lib/fulltextsearch/qsearchable.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qsort.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qterm.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qtoken.cpp1
-rw-r--r--tools/assistant/lib/fulltextsearch/qtokenstream.cpp1
15 files changed, 16 insertions, 1 deletions
diff --git a/tools/assistant/lib/fulltextsearch/qanalyzer.cpp b/tools/assistant/lib/fulltextsearch/qanalyzer.cpp
index 9c380aeaa6..ed018bf72b 100644
--- a/tools/assistant/lib/fulltextsearch/qanalyzer.cpp
+++ b/tools/assistant/lib/fulltextsearch/qanalyzer.cpp
@@ -27,6 +27,7 @@ QCLuceneAnalyzerPrivate::QCLuceneAnalyzerPrivate(const QCLuceneAnalyzerPrivate &
: QSharedData()
{
analyzer = _CL_POINTER(other.analyzer);
+ deleteCLuceneAnalyzer = other.deleteCLuceneAnalyzer;
}
QCLuceneAnalyzerPrivate::~QCLuceneAnalyzerPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qdocument.cpp b/tools/assistant/lib/fulltextsearch/qdocument.cpp
index c2aae9898e..bad8ea9d04 100644
--- a/tools/assistant/lib/fulltextsearch/qdocument.cpp
+++ b/tools/assistant/lib/fulltextsearch/qdocument.cpp
@@ -29,6 +29,7 @@ QCLuceneDocumentPrivate::QCLuceneDocumentPrivate(const QCLuceneDocumentPrivate &
: QSharedData()
{
document = _CL_POINTER(other.document);
+ deleteCLuceneDocument = other.deleteCLuceneDocument;
}
QCLuceneDocumentPrivate::~QCLuceneDocumentPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qfield.cpp b/tools/assistant/lib/fulltextsearch/qfield.cpp
index 496622df4e..dc878f3221 100644
--- a/tools/assistant/lib/fulltextsearch/qfield.cpp
+++ b/tools/assistant/lib/fulltextsearch/qfield.cpp
@@ -28,6 +28,7 @@ QCLuceneFieldPrivate::QCLuceneFieldPrivate(const QCLuceneFieldPrivate &other)
: QSharedData()
{
field = _CL_POINTER(other.field);
+ deleteCLuceneField = other.deleteCLuceneField;
}
QCLuceneFieldPrivate::~QCLuceneFieldPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qfilter.cpp b/tools/assistant/lib/fulltextsearch/qfilter.cpp
index 60a2a1dd7a..837f590103 100644
--- a/tools/assistant/lib/fulltextsearch/qfilter.cpp
+++ b/tools/assistant/lib/fulltextsearch/qfilter.cpp
@@ -26,6 +26,7 @@ QCLuceneFilterPrivate::QCLuceneFilterPrivate(const QCLuceneFilterPrivate &other)
: QSharedData()
{
filter = _CL_POINTER(other.filter);
+ deleteCLuceneFilter = other.deleteCLuceneFilter;
}
QCLuceneFilterPrivate::~QCLuceneFilterPrivate ()
diff --git a/tools/assistant/lib/fulltextsearch/qhits.cpp b/tools/assistant/lib/fulltextsearch/qhits.cpp
index 003db17b66..c2fbf1b58d 100644
--- a/tools/assistant/lib/fulltextsearch/qhits.cpp
+++ b/tools/assistant/lib/fulltextsearch/qhits.cpp
@@ -27,6 +27,7 @@ QCLuceneHitsPrivate::QCLuceneHitsPrivate(const QCLuceneHitsPrivate &other)
: QSharedData()
{
hits = _CL_POINTER(other.hits);
+ deleteCLuceneHits = other.deleteCLuceneHits;
}
QCLuceneHitsPrivate::~QCLuceneHitsPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qindexreader.cpp b/tools/assistant/lib/fulltextsearch/qindexreader.cpp
index a755eae575..fc1a3bbdc9 100644
--- a/tools/assistant/lib/fulltextsearch/qindexreader.cpp
+++ b/tools/assistant/lib/fulltextsearch/qindexreader.cpp
@@ -27,6 +27,7 @@ QCLuceneIndexReaderPrivate::QCLuceneIndexReaderPrivate(const QCLuceneIndexReader
: QSharedData()
{
reader = _CL_POINTER(other.reader);
+ deleteCLuceneIndexReader = other.deleteCLuceneIndexReader;
}
QCLuceneIndexReaderPrivate::~QCLuceneIndexReaderPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qindexwriter.cpp b/tools/assistant/lib/fulltextsearch/qindexwriter.cpp
index af5a7bb6f7..93e23e769b 100644
--- a/tools/assistant/lib/fulltextsearch/qindexwriter.cpp
+++ b/tools/assistant/lib/fulltextsearch/qindexwriter.cpp
@@ -27,6 +27,7 @@ QCLuceneIndexWriterPrivate::QCLuceneIndexWriterPrivate(const QCLuceneIndexWriter
: QSharedData()
{
writer = _CL_POINTER(other.writer);
+ deleteCLuceneIndexWriter = other.deleteCLuceneIndexWriter;
}
QCLuceneIndexWriterPrivate::~QCLuceneIndexWriterPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qquery.cpp b/tools/assistant/lib/fulltextsearch/qquery.cpp
index 8bc9607b37..1760b059fe 100644
--- a/tools/assistant/lib/fulltextsearch/qquery.cpp
+++ b/tools/assistant/lib/fulltextsearch/qquery.cpp
@@ -28,6 +28,7 @@ QCLuceneQueryPrivate::QCLuceneQueryPrivate(const QCLuceneQueryPrivate &other)
: QSharedData()
{
query = _CL_POINTER(other.query);
+ deleteCLuceneQuery = other.deleteCLuceneQuery;
}
QCLuceneQueryPrivate::~QCLuceneQueryPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qqueryparser.cpp b/tools/assistant/lib/fulltextsearch/qqueryparser.cpp
index cbe01477cd..6f546bedad 100644
--- a/tools/assistant/lib/fulltextsearch/qqueryparser.cpp
+++ b/tools/assistant/lib/fulltextsearch/qqueryparser.cpp
@@ -28,6 +28,7 @@ QCLuceneQueryParserPrivate::QCLuceneQueryParserPrivate(const QCLuceneQueryParser
: QSharedData()
{
queryParser = _CL_POINTER(other.queryParser);
+ deleteCLuceneQueryParser = other.deleteCLuceneQueryParser;
}
QCLuceneQueryParserPrivate::~QCLuceneQueryParserPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qreader.cpp b/tools/assistant/lib/fulltextsearch/qreader.cpp
index fe079a9a33..3b2d6f5656 100644
--- a/tools/assistant/lib/fulltextsearch/qreader.cpp
+++ b/tools/assistant/lib/fulltextsearch/qreader.cpp
@@ -25,8 +25,9 @@ QCLuceneReaderPrivate::QCLuceneReaderPrivate()
QCLuceneReaderPrivate::QCLuceneReaderPrivate(const QCLuceneReaderPrivate &other)
: QSharedData()
-{
+{
reader = _CL_POINTER(other.reader);
+ deleteCLuceneReader = other.deleteCLuceneReader;
}
QCLuceneReaderPrivate::~QCLuceneReaderPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qsearchable.cpp b/tools/assistant/lib/fulltextsearch/qsearchable.cpp
index c26868c96e..70cae91121 100644
--- a/tools/assistant/lib/fulltextsearch/qsearchable.cpp
+++ b/tools/assistant/lib/fulltextsearch/qsearchable.cpp
@@ -26,6 +26,7 @@ QCLuceneSearchablePrivate::QCLuceneSearchablePrivate(const QCLuceneSearchablePri
: QSharedData()
{
searchable = _CL_POINTER(other.searchable);
+ deleteCLuceneSearchable = other.deleteCLuceneSearchable;
}
QCLuceneSearchablePrivate::~QCLuceneSearchablePrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qsort.cpp b/tools/assistant/lib/fulltextsearch/qsort.cpp
index 9c1e902c8c..97ed128e56 100644
--- a/tools/assistant/lib/fulltextsearch/qsort.cpp
+++ b/tools/assistant/lib/fulltextsearch/qsort.cpp
@@ -27,6 +27,7 @@ QCLuceneSortPrivate::QCLuceneSortPrivate (const QCLuceneSortPrivate &other)
: QSharedData()
{
sort = _CL_POINTER(other.sort);
+ deleteCLuceneSort = other.deleteCLuceneSort;
}
QCLuceneSortPrivate::~QCLuceneSortPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qterm.cpp b/tools/assistant/lib/fulltextsearch/qterm.cpp
index 58d5c4d8dd..10a2f3a27e 100644
--- a/tools/assistant/lib/fulltextsearch/qterm.cpp
+++ b/tools/assistant/lib/fulltextsearch/qterm.cpp
@@ -27,6 +27,7 @@ QCLuceneTermPrivate::QCLuceneTermPrivate(const QCLuceneTermPrivate &other)
: QSharedData()
{
term = _CL_POINTER(other.term);
+ deleteCLuceneTerm = other.deleteCLuceneTerm;
}
QCLuceneTermPrivate::~QCLuceneTermPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qtoken.cpp b/tools/assistant/lib/fulltextsearch/qtoken.cpp
index cc5296a443..9056a7cdb1 100644
--- a/tools/assistant/lib/fulltextsearch/qtoken.cpp
+++ b/tools/assistant/lib/fulltextsearch/qtoken.cpp
@@ -27,6 +27,7 @@ QCLuceneTokenPrivate::QCLuceneTokenPrivate(const QCLuceneTokenPrivate &other)
: QSharedData()
{
token = _CL_POINTER(other.token);
+ deleteCLuceneToken = other.deleteCLuceneToken;
}
QCLuceneTokenPrivate::~QCLuceneTokenPrivate()
diff --git a/tools/assistant/lib/fulltextsearch/qtokenstream.cpp b/tools/assistant/lib/fulltextsearch/qtokenstream.cpp
index 8a98c0863d..0f4ab95f92 100644
--- a/tools/assistant/lib/fulltextsearch/qtokenstream.cpp
+++ b/tools/assistant/lib/fulltextsearch/qtokenstream.cpp
@@ -26,6 +26,7 @@ QCLuceneTokenStreamPrivate::QCLuceneTokenStreamPrivate(const QCLuceneTokenStream
: QSharedData()
{
tokenStream = _CL_POINTER(other.tokenStream);
+ deleteCLuceneTokenStream = other.deleteCLuceneTokenStream;
}
QCLuceneTokenStreamPrivate::~QCLuceneTokenStreamPrivate()