summaryrefslogtreecommitdiff
path: root/src/sync/ftpsynchandler.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-06-12 16:04:07 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-06-12 16:13:08 +0200
commit278de55ad646130a388732309549c48b62a14b03 (patch)
tree2c700f523c96104aadfaf131a581d11f52d3ae46 /src/sync/ftpsynchandler.cpp
parentClean up urlbar code by removing duplicated code (diff)
downloadrekonq-278de55ad646130a388732309549c48b62a14b03.tar.xz
Cleans up
- set initial icon to have properly dimensions set - properly calculate needed icon's height - calm down some kDebug messages
Diffstat (limited to 'src/sync/ftpsynchandler.cpp')
-rw-r--r--src/sync/ftpsynchandler.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sync/ftpsynchandler.cpp b/src/sync/ftpsynchandler.cpp
index dcff4eb5..ad845d09 100644
--- a/src/sync/ftpsynchandler.cpp
+++ b/src/sync/ftpsynchandler.cpp
@@ -63,11 +63,9 @@ void FTPSyncHandler::initialLoadAndCheck()
_remoteBookmarksUrl.setPassword(ReKonfig::syncPass());
_remoteBookmarksUrl.setPort(ReKonfig::syncPort());
_remoteBookmarksUrl.setPath(ReKonfig::syncPath() + QL1S("/bookmarks.xml"));
- kDebug() << "REMOTE BK URL: " << _remoteBookmarksUrl;
const QString bookmarksFilePath = KStandardDirs::locateLocal("data", QL1S("konqueror/bookmarks.xml"));
_localBookmarksUrl = KUrl(bookmarksFilePath);
- kDebug() << "LOCAL BK URL: " << _localBookmarksUrl;
KIO::StatJob *job = KIO::stat(_remoteBookmarksUrl, KIO::StatJob::DestinationSide, 0, KIO::HideProgressInfo);
connect(job, SIGNAL(finished(KJob*)), this, SLOT(onBookmarksStatFinished(KJob*)));
@@ -83,11 +81,9 @@ void FTPSyncHandler::initialLoadAndCheck()
_remoteHistoryUrl.setPassword(ReKonfig::syncPass());
_remoteHistoryUrl.setPort(ReKonfig::syncPort());
_remoteHistoryUrl.setPath(ReKonfig::syncPath() + QL1S("/history"));
- kDebug() << "REMOTE HISTORY URL: " << _remoteHistoryUrl;
const QString historyFilePath = KStandardDirs::locateLocal("appdata", "history");
_localHistoryUrl = KUrl(historyFilePath);
- kDebug() << "LOCAL HISTORY URL: " << _localHistoryUrl;
KIO::StatJob *job = KIO::stat(_remoteHistoryUrl, KIO::StatJob::DestinationSide, 0, KIO::HideProgressInfo);
connect(job, SIGNAL(finished(KJob*)), this, SLOT(onHistoryStatFinished(KJob*)));
@@ -103,11 +99,9 @@ void FTPSyncHandler::initialLoadAndCheck()
_remotePasswordsUrl.setPassword(ReKonfig::syncPass());
_remotePasswordsUrl.setPort(ReKonfig::syncPort());
_remotePasswordsUrl.setPath(ReKonfig::syncPath() + QL1S("/kdewallet.kwl"));
- kDebug() << "REMOTE PSWD URL: " << _remotePasswordsUrl;
const QString passwordsFilePath = KStandardDirs::locateLocal("data", QL1S("kwallet/kdewallet.kwl"));
_localPasswordsUrl = KUrl(passwordsFilePath);
- kDebug() << "LOCAL PSWD URL: " << _localPasswordsUrl;
KIO::StatJob *job = KIO::stat(_remotePasswordsUrl, KIO::StatJob::DestinationSide, 0, KIO::HideProgressInfo);
connect(job, SIGNAL(finished(KJob*)), this, SLOT(onPasswordsStatFinished(KJob*)));