summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-20 13:45:21 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-20 13:45:21 (GMT)
commit92d07b3dc7c084aa1c2be5550268c43a013caa67 (patch)
treeeaa4776d5444f7342bae4d8ffca4e400c6bb171c
parent22771596775663157e0e6e7b42b803365a163bde (diff)
Remove unused createTable
-rw-r--r--webengineviewer/src/checkphishingurl/localdatabasemanager.cpp10
-rw-r--r--webengineviewer/src/checkphishingurl/localdatabasemanager.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/webengineviewer/src/checkphishingurl/localdatabasemanager.cpp b/webengineviewer/src/checkphishingurl/localdatabasemanager.cpp
index 7a67170..6b518f5 100644
--- a/webengineviewer/src/checkphishingurl/localdatabasemanager.cpp
+++ b/webengineviewer/src/checkphishingurl/localdatabasemanager.cpp
@@ -244,16 +244,6 @@ bool LocalDataBaseManager::initializeDataBase()
return true;
}
-bool LocalDataBaseManager::createTable()
-{
- return true;
- /*
- QSqlQuery query(mDataBase);
- return query.exec(QStringLiteral("create table %1 (id int primary key, "
- "hash varchar(32))").arg(tableName()));
- */
-}
-
void LocalDataBaseManager::setDownloadProgress(bool downloadProgress)
{
mDownloadProgress = downloadProgress;
diff --git a/webengineviewer/src/checkphishingurl/localdatabasemanager.h b/webengineviewer/src/checkphishingurl/localdatabasemanager.h
index 6628aae..e0e2819 100644
--- a/webengineviewer/src/checkphishingurl/localdatabasemanager.h
+++ b/webengineviewer/src/checkphishingurl/localdatabasemanager.h
@@ -70,7 +70,6 @@ private:
bool initializeDataBase();
QByteArray createHash(const QUrl &url);
void checkDataBase();
- bool createTable();
bool malwareFound(const QByteArray &hash);
QString mNewClientState;