Commit ef7cb307 authored by Laurent Montel's avatar Laurent Montel 😁

Remove unused debug

parent 95995e1e
...@@ -768,7 +768,6 @@ void KMComposerWin::rethinkFields(bool fromSlot) ...@@ -768,7 +768,6 @@ void KMComposerWin::rethinkFields(bool fromSlot)
mGrid->setRowStretch(mNumHeaders + 1, 100); mGrid->setRowStretch(mNumHeaders + 1, 100);
row = 0; row = 0;
qCDebug(KMAIL_LOG);
mLabelWidth = mComposerBase->recipientsEditor()->setFirstColumnWidth(0) + 2; mLabelWidth = mComposerBase->recipientsEditor()->setFirstColumnWidth(0) + 2;
if (std::abs(mShowHeaders)&HDR_IDENTITY) { if (std::abs(mShowHeaders)&HDR_IDENTITY) {
...@@ -1906,7 +1905,6 @@ void KMComposerWin::slotSelectCryptoModule(bool init) ...@@ -1906,7 +1905,6 @@ void KMComposerWin::slotSelectCryptoModule(bool init)
void KMComposerWin::slotUpdateFont() void KMComposerWin::slotUpdateFont()
{ {
qCDebug(KMAIL_LOG);
if (!mFixedFontAction) { if (!mFixedFontAction) {
return; return;
} }
......
...@@ -117,8 +117,6 @@ void KMailPart::updateQuickSearchText() ...@@ -117,8 +117,6 @@ void KMailPart::updateQuickSearchText()
bool KMailPart::openFile() bool KMailPart::openFile()
{ {
qCDebug(KMAIL_LOG);
mainWidget->show(); mainWidget->show();
return true; return true;
} }
...@@ -127,7 +125,6 @@ bool KMailPart::openFile() ...@@ -127,7 +125,6 @@ bool KMailPart::openFile()
void KMailPart::guiActivateEvent(KParts::GUIActivateEvent *e) void KMailPart::guiActivateEvent(KParts::GUIActivateEvent *e)
{ {
qCDebug(KMAIL_LOG);
KParts::ReadOnlyPart::guiActivateEvent(e); KParts::ReadOnlyPart::guiActivateEvent(e);
mainWidget->initializeFilterActions(); mainWidget->initializeFilterActions();
mainWidget->tagActionManager()->createActions(); mainWidget->tagActionManager()->createActions();
......
...@@ -241,7 +241,6 @@ KMKernel::~KMKernel() ...@@ -241,7 +241,6 @@ KMKernel::~KMKernel()
delete mAutoCorrection; delete mAutoCorrection;
mySelf = Q_NULLPTR; mySelf = Q_NULLPTR;
qCDebug(KMAIL_LOG);
} }
Akonadi::ChangeRecorder *KMKernel::folderCollectionMonitor() const Akonadi::ChangeRecorder *KMKernel::folderCollectionMonitor() const
...@@ -484,7 +483,6 @@ QStringList KMKernel::accounts() ...@@ -484,7 +483,6 @@ QStringList KMKernel::accounts()
void KMKernel::checkAccount(const QString &account) //might create a new reader but won't show!! void KMKernel::checkAccount(const QString &account) //might create a new reader but won't show!!
{ {
qCDebug(KMAIL_LOG);
if (account.isEmpty()) { if (account.isEmpty()) {
checkMail(); checkMail();
} else { } else {
...@@ -501,7 +499,6 @@ void KMKernel::openReader(bool onlyCheck) ...@@ -501,7 +499,6 @@ void KMKernel::openReader(bool onlyCheck)
{ {
mWin = Q_NULLPTR; mWin = Q_NULLPTR;
KMainWindow *ktmw = Q_NULLPTR; KMainWindow *ktmw = Q_NULLPTR;
qCDebug(KMAIL_LOG);
foreach (KMainWindow *window, KMainWindow::memberList()) { foreach (KMainWindow *window, KMainWindow::memberList()) {
if (::qobject_cast<KMMainWin *>(window)) { if (::qobject_cast<KMMainWin *>(window)) {
...@@ -540,7 +537,6 @@ int KMKernel::openComposer(const QString &to, const QString &cc, ...@@ -540,7 +537,6 @@ int KMKernel::openComposer(const QString &to, const QString &cc,
const QStringList &customHeaders, const QStringList &customHeaders,
const QString &replyTo, const QString &inReplyTo) const QString &replyTo, const QString &inReplyTo)
{ {
qCDebug(KMAIL_LOG);
KMail::Composer::TemplateContext context = KMail::Composer::New; KMail::Composer::TemplateContext context = KMail::Composer::New;
KMime::Message::Ptr msg(new KMime::Message); KMime::Message::Ptr msg(new KMime::Message);
MessageHelper::initHeader(msg, identityManager()); MessageHelper::initHeader(msg, identityManager());
...@@ -1561,7 +1557,6 @@ void KMKernel::updateSystemTray() ...@@ -1561,7 +1557,6 @@ void KMKernel::updateSystemTray()
KIdentityManagement::IdentityManager *KMKernel::identityManager() KIdentityManagement::IdentityManager *KMKernel::identityManager()
{ {
if (!mIdentityManager) { if (!mIdentityManager) {
qCDebug(KMAIL_LOG);
mIdentityManager = new KIdentityManagement::IdentityManager(false, this, "mIdentityManager"); mIdentityManager = new KIdentityManagement::IdentityManager(false, this, "mIdentityManager");
} }
return mIdentityManager; return mIdentityManager;
......
...@@ -2384,7 +2384,6 @@ void KMMainWidget::showResourceOfflinePage() ...@@ -2384,7 +2384,6 @@ void KMMainWidget::showResourceOfflinePage()
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void KMMainWidget::slotReplaceMsgByUnencryptedVersion() void KMMainWidget::slotReplaceMsgByUnencryptedVersion()
{ {
qCDebug(KMAIL_LOG);
Akonadi::Item oldMsg = mMessagePane->currentItem(); Akonadi::Item oldMsg = mMessagePane->currentItem();
if (oldMsg.isValid()) { if (oldMsg.isValid()) {
#if 0 #if 0
......
...@@ -76,8 +76,6 @@ void KMailApplication::setEventLoopReached() ...@@ -76,8 +76,6 @@ void KMailApplication::setEventLoopReached()
int KMailApplication::activate(const QStringList &args, const QString &workindDir) int KMailApplication::activate(const QStringList &args, const QString &workindDir)
{ {
qCDebug(KMAIL_LOG);
// If the event loop hasn't been reached yet, the kernel is probably not // If the event loop hasn't been reached yet, the kernel is probably not
// fully initialized. Creating an instance would therefore fail, this is why // fully initialized. Creating an instance would therefore fail, this is why
// that is delayed until delayedInstanceCreation() is called. // that is delayed until delayedInstanceCreation() is called.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment