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

Clean up

parent 85693646
......@@ -420,7 +420,7 @@ void KMMainWidget::slotUpdateActionsAfterMailChecking()
GlobalSettings::self()->sendOnCheck() == GlobalSettings::EnumSendOnCheck::SendOnAllChecks;
const bool sendOnManual =
GlobalSettings::self()->sendOnCheck() == GlobalSettings::EnumSendOnCheck::SendOnManualChecks;
if ( !kmkernel->isOffline() && ( sendOnAll || (sendOnManual /*&& sendOnCheck*/ ) ) ) {
if ( !kmkernel->isOffline() && ( sendOnAll || sendOnManual ) ) {
slotSendQueued();
}
// update folder menus in case some mail got filtered to trash/current folder
......
......@@ -79,7 +79,7 @@ void SecondaryWindow::closeEvent( QCloseEvent * e )
void SecondaryWindow::setCaption( const QString &userCaption )
{
QString caption = KGlobal::caption();
const QString caption = KGlobal::caption();
QString captionString = userCaption.isEmpty() ? caption : userCaption;
if ( !userCaption.isEmpty() ) {
// Add the application name if:
......
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