summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreli mackenzie <[email protected]>2015-04-30 02:11:20 -0400
committereli mackenzie <[email protected]>2015-04-30 02:11:20 -0400
commit63ccfad0d6c24b6ed86b76ea64d7ab541964677b (patch)
tree2a6938ab79d1e86b5cf71cf0010a286a93896e04
parentc9ac3940000a9fc1ab919a81b149f30446ad5ccb (diff)
disable the cancel button
-rw-r--r--wordcompletion/wordlist.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/wordcompletion/wordlist.cpp b/wordcompletion/wordlist.cpp
index 8a6dbb5..fa6e00d 100644
--- a/wordcompletion/wordlist.cpp
+++ b/wordcompletion/wordlist.cpp
@@ -114,8 +114,7 @@ WordMap XMLParser::getList() {
QProgressDialog *progressDialog() {
QProgressDialog *pdlg = new QProgressDialog(i18n("Creating Word List"), i18n("Parsing the KDE documentation..."), 0, 100);
- //pdlg->setAllowCancel (false);
- //pdlg->showCancelButton (false);
+ pdlg->setCancelButton(0);
pdlg->setAutoReset(false);
pdlg->setAutoClose(false);
return pdlg;