diff options
author | akshay-c | 2019-04-26 11:46:09 +0530 |
---|---|---|
committer | akshay-c | 2019-04-26 11:46:09 +0530 |
commit | c42da945ba01864b55358c95ed0833e37af8fcdc (patch) | |
tree | eb3a9bc57f6fd239ba7c839fedc546e4f98c6182 /ldmicro/lutdialog.cpp | |
parent | 11b0fb9ef4dc1bb34cef5415855fce647a6b0c83 (diff) | |
download | LDmicroQt-c42da945ba01864b55358c95ed0833e37af8fcdc.tar.gz LDmicroQt-c42da945ba01864b55358c95ed0833e37af8fcdc.tar.bz2 LDmicroQt-c42da945ba01864b55358c95ed0833e37af8fcdc.zip |
ConfDialog completed, issues with dialog close resolved
Diffstat (limited to 'ldmicro/lutdialog.cpp')
-rw-r--r-- | ldmicro/lutdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ldmicro/lutdialog.cpp b/ldmicro/lutdialog.cpp index a4e5987..e244d1a 100644 --- a/ldmicro/lutdialog.cpp +++ b/ldmicro/lutdialog.cpp @@ -80,7 +80,7 @@ void CountFunction(QString text); void StringFunction(QString text); -inline void DestroyWindow (){ +static inline void DestroyWindow (){ delete Labels[0]; delete Labels[1]; delete Labels[2]; @@ -382,11 +382,11 @@ void ShowLookUpTableDialog(ElemLeaf *l) int i; for(i = 0; i < count; i++) { t->vals[i] = ValuesCache[i]; - printf("Value:%d\n", ValuesCache[i]); + // printf("Value:%d\n", ValuesCache[i]); } t->count = count; t->editAsString = asString; - printf("Count:%d\n", count); + // printf("Count:%d\n", count); } break; case QDialog::Rejected: @@ -400,7 +400,7 @@ void ShowLookUpTableDialog(ElemLeaf *l) void CheckBoxFunction(int state) { - printf("CheckBoxFunctionCalled\n"); + // printf("CheckBoxFunctionCalled\n"); asString = state; DestroyLutControls(); const char* buf; @@ -412,7 +412,7 @@ void CheckBoxFunction(int state) // ShowLookUpTableDialog function to improve performance in Qt void CountFunction(QString text) { - printf("TextFunction called:%s\n",text.toStdString().c_str()); + // printf("TextFunction called:%s\n",text.toStdString().c_str()); const char* buf; buf = text.toStdString().c_str(); if(atoi(buf) != ControlCount && !asString) { @@ -430,7 +430,7 @@ void CountFunction(QString text) // ShowLookUpTableDialog function to improve performance in Qt void StringFunction(QString text) { - printf("StringFunction called \n"); + // printf("StringFunction called \n"); char* scratch = (char*)text.toStdString().c_str(); // SendMessage(StringTextbox, WM_GETTEXT, (WPARAM)sizeof(scratch), // (LPARAM)scratch); |