summaryrefslogtreecommitdiffstats
path: root/extractordialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'extractordialog.cpp')
-rw-r--r--extractordialog.cpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/extractordialog.cpp b/extractordialog.cpp
index 7bb2f81..984c1d8 100644
--- a/extractordialog.cpp
+++ b/extractordialog.cpp
@@ -42,6 +42,8 @@ void ExtractorDialog::extractionFinished(){
mCancelClose->disconnect(SIGNAL(clicked()));
connect(mCancelClose, SIGNAL(clicked()), this, SLOT(accept()));
mCancelClose->setText(tr("Close"));
+ setWindowTitle(tr("Extraction finished"));
+ mOutput->append(tr("\nFinished.\n"));
}
void ExtractorDialog::killProcess(){
@@ -51,19 +53,7 @@ void ExtractorDialog::killProcess(){
void ExtractorDialog::writeOutput(){
if(mExtractor->canReadLine()){
- QString line = mExtractor->readLine();
- QRegExp dots("^...\\s+");
- if(dots.indexIn(line) != -1){
- line.replace(dots, "File: ");
- mOutput->append(line);
- return;
- }
- QRegExp extracting("/.*/");
- if(extracting.indexIn(line) != -1){
- line.replace(extracting, "");
- mOutput->append(line);
- }
-
+ mOutput->append(mExtractor->readLine());
}
}