diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-22 17:48:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-03 22:55:29 +0900 |
| commit | ba759c68a0d76f3bd39cca9cc62c2b31bf4a5f86 (patch) | |
| tree | 12e785c7a4e4cabbac960f2743de01a79ba77c2f /src/document.cpp | |
| parent | 0ed59f2f132ebbe7b340ea93ea1de240e712473e (diff) | |
| download | tellico-ba759c68a0d76f3bd39cca9cc62c2b31bf4a5f86.tar.gz tellico-ba759c68a0d76f3bd39cca9cc62c2b31bf4a5f86.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/document.cpp')
| -rw-r--r-- | src/document.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/document.cpp b/src/document.cpp index 9684211..c21ab61 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -195,7 +195,7 @@ bool Document::saveDocument(const KURL& url_) { // in case we're still loading images, give that a chance to cancel m_cancelImageWriting = true; - kapp->processEvents(); + tdeApp->processEvents(); ProgressItem& item = ProgressManager::self()->newProgressItem(this, i18n("Saving file..."), false); ProgressItem::Done done(this); @@ -528,7 +528,7 @@ void Document::slotLoadAllImages() { break; } // stay responsive, do this in the background - kapp->processEvents(); + tdeApp->processEvents(); } if(m_cancelImageWriting) { @@ -570,7 +570,7 @@ void Document::writeAllImages(int cacheDir_, const KURL& localDir_) { } if(j%stepSize == 0) { ProgressManager::self()->setProgress(this, j/stepSize); - kapp->processEvents(); + tdeApp->processEvents(); } ++j; if(m_cancelImageWriting) { |
