Commit fdce4d1a authored by Allen Winter's avatar Allen Winter
Browse files

noteeditdialog.cpp - remove not very useful debug prints

parent 16c14ad9
......@@ -21,7 +21,6 @@
*/
#include "noteeditdialog.h"
#include "calendarsupport_debug.h"
#include <Akonadi/Notes/NoteUtils>
#include <AkonadiWidgets/CollectionComboBox>
......@@ -188,12 +187,10 @@ void NoteEditDialog::accept()
QDialog::accept();
const Akonadi::Collection collection = mCollectionCombobox->currentCollection();
if (!collection.isValid()) {
qCDebug(CALENDARSUPPORT_LOG) << " Collection is not valid";
return;
}
if (mNoteTitle->text().isEmpty() && mNoteText->isEmpty()) {
qCDebug(CALENDARSUPPORT_LOG) << " empty note do not save it";
return;
}
......
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