[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kexi] src/widget: GIT_SILENT Data widgets: Reduce debug noise (silent)
From:       Jaroslaw Staniek <staniek () kde ! org>
Date:       2016-02-29 23:12:21
Message-ID: E1aaWzF-0000sv-Pe () scm ! kde ! org
[Download RAW message or body]

Git commit 920489a32218c72e61a5d65c5992972c08bfe615 by Jaroslaw Staniek.
Committed on 29/02/2016 at 23:07.
Pushed by staniek into branch 'master'.

GIT_SILENT Data widgets: Reduce debug noise

(from calligra.git)

M  +5    -5    src/widget/dataviewcommon/kexidataawareobjectiface.cpp
M  +1    -1    src/widget/tableview/kexiinputtableedit.cpp

http://commits.kde.org/kexi/920489a32218c72e61a5d65c5992972c08bfe615

diff --git a/src/widget/dataviewcommon/kexidataawareobjectiface.cpp \
b/src/widget/dataviewcommon/kexidataawareobjectiface.cpp index 9447da3..410b11b \
                100644
--- a/src/widget/dataviewcommon/kexidataawareobjectiface.cpp
+++ b/src/widget/dataviewcommon/kexidataawareobjectiface.cpp
@@ -652,7 +652,7 @@ void KexiDataAwareObjectInterface::setCursorPosition(int record, \
                int col/*=-1*/,
             // the same cell but may need a bit of scrolling to make it visible
             ensureCellVisible(m_curRecord, m_curColumn);
         }
-        qDebug() << "NO CHANGE";
+        //qDebug() << "NO CHANGE";
     }
 
     if (m_initDataContentsOnShow) {
@@ -682,13 +682,13 @@ bool KexiDataAwareObjectInterface::acceptRecordEditing()
     if (!acceptEditor()) {
         return false;
     }
-    qDebug() << "EDIT RECORD ACCEPTING...";
+    //qDebug() << "EDIT RECORD ACCEPTING...";
 
     bool success = true;
     const bool inserting = m_newRecordEditing;
 
     if (m_data->recordEditBuffer()->isEmpty() && !m_newRecordEditing) {
-        qDebug() << "-- NOTHING TO ACCEPT!!!";
+        //qDebug() << "-- NOTHING TO ACCEPT!!!";
     } else {//not empty edit buffer or new row to insert:
         if (m_newRecordEditing) {
             qDebug() << "-- INSERTING:" << *m_data->recordEditBuffer();
@@ -745,7 +745,7 @@ bool KexiDataAwareObjectInterface::acceptRecordEditing()
     }
     //indicate on the vheader that we are not editing
     if (verticalHeader()) {
-        qDebug() << currentRecord();
+        //qDebug() << currentRecord();
         updateVerticalHeaderSection(currentRecord());
     }
     return success;
@@ -781,7 +781,7 @@ bool KexiDataAwareObjectInterface::cancelRecordEditing()
 
     //indicate on the vheader that we are not editing
     if (verticalHeader()) {
-        qDebug() << currentRecord();
+        //qDebug() << currentRecord();
         updateVerticalHeaderSection(currentRecord());
     }
 
diff --git a/src/widget/tableview/kexiinputtableedit.cpp \
b/src/widget/tableview/kexiinputtableedit.cpp index 5a74cf4..4b03402 100644
--- a/src/widget/tableview/kexiinputtableedit.cpp
+++ b/src/widget/tableview/kexiinputtableedit.cpp
@@ -334,7 +334,7 @@ void KexiInputTableEdit::updateLineEditStyleSheet()
       .arg(m_rightMarginWhenFocused) // right
       .arg(align_right ? 0 : 2) // left
     );
-    qDebug() << m_rightMarginWhenFocused << m_lineedit->styleSheet();
+    //qDebug() << m_rightMarginWhenFocused << m_lineedit->styleSheet();
 }
 
 KEXI_CELLEDITOR_FACTORY_ITEM_IMPL(KexiInputEditorFactoryItem, KexiInputTableEdit)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic