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

Remove unused debug

parent 95995e1e
......@@ -768,7 +768,6 @@ void KMComposerWin::rethinkFields(bool fromSlot)
mGrid->setRowStretch(mNumHeaders + 1, 100);
row = 0;
qCDebug(KMAIL_LOG);
mLabelWidth = mComposerBase->recipientsEditor()->setFirstColumnWidth(0) + 2;
if (std::abs(mShowHeaders)&HDR_IDENTITY) {
......@@ -1906,7 +1905,6 @@ void KMComposerWin::slotSelectCryptoModule(bool init)
void KMComposerWin::slotUpdateFont()
{
qCDebug(KMAIL_LOG);
if (!mFixedFontAction) {
return;
}
......
......@@ -117,8 +117,6 @@ void KMailPart::updateQuickSearchText()
bool KMailPart::openFile()
{
qCDebug(KMAIL_LOG);
mainWidget->show();
return true;
}
......@@ -127,7 +125,6 @@ bool KMailPart::openFile()
void KMailPart::guiActivateEvent(KParts::GUIActivateEvent *e)
{
qCDebug(KMAIL_LOG);
KParts::ReadOnlyPart::guiActivateEvent(e);
mainWidget->initializeFilterActions();
mainWidget->tagActionManager()->createActions();
......
......@@ -241,7 +241,6 @@ KMKernel::~KMKernel()
delete mAutoCorrection;
mySelf = Q_NULLPTR;
qCDebug(KMAIL_LOG);
}
Akonadi::ChangeRecorder *KMKernel::folderCollectionMonitor() const
......@@ -484,7 +483,6 @@ QStringList KMKernel::accounts()
void KMKernel::checkAccount(const QString &account) //might create a new reader but won't show!!
{
qCDebug(KMAIL_LOG);
if (account.isEmpty()) {
checkMail();
} else {
......@@ -501,7 +499,6 @@ void KMKernel::openReader(bool onlyCheck)
{
mWin = Q_NULLPTR;
KMainWindow *ktmw = Q_NULLPTR;
qCDebug(KMAIL_LOG);
foreach (KMainWindow *window, KMainWindow::memberList()) {
if (::qobject_cast<KMMainWin *>(window)) {
......@@ -540,7 +537,6 @@ int KMKernel::openComposer(const QString &to, const QString &cc,
const QStringList &customHeaders,
const QString &replyTo, const QString &inReplyTo)
{
qCDebug(KMAIL_LOG);
KMail::Composer::TemplateContext context = KMail::Composer::New;
KMime::Message::Ptr msg(new KMime::Message);
MessageHelper::initHeader(msg, identityManager());
......@@ -1561,7 +1557,6 @@ void KMKernel::updateSystemTray()
KIdentityManagement::IdentityManager *KMKernel::identityManager()
{
if (!mIdentityManager) {
qCDebug(KMAIL_LOG);
mIdentityManager = new KIdentityManagement::IdentityManager(false, this, "mIdentityManager");
}
return mIdentityManager;
......
......@@ -2384,7 +2384,6 @@ void KMMainWidget::showResourceOfflinePage()
//-----------------------------------------------------------------------------
void KMMainWidget::slotReplaceMsgByUnencryptedVersion()
{
qCDebug(KMAIL_LOG);
Akonadi::Item oldMsg = mMessagePane->currentItem();
if (oldMsg.isValid()) {
#if 0
......
......@@ -76,8 +76,6 @@ void KMailApplication::setEventLoopReached()
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
// fully initialized. Creating an instance would therefore fail, this is why
// 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