SVN commit 1035856 by weilbach: Only increment pointer when text is not empty and therefore only when message is actually being sent. M +2 -2 leavenote.cpp --- branches/KDE/4.3/kdeplasma-addons/applets/leavenote/leavenote.cpp #1035855:1035856 @@ -179,11 +179,11 @@ void LeaveNote::slotSend() { - incrementMessageCount(); - if (mTextEdit->nativeWidget()->toPlainText().isEmpty()) return; + incrementMessageCount(); + QString time = KGlobal::locale()->formatTime(KDateTime::currentLocalDateTime().time()); QString title = i18nc("String + time", "Somebody has left a note at %1", time); QString msg = mTextEdit->text();