summaryrefslogtreecommitdiffstats
path: root/extractordialog.cpp
diff options
context:
space:
mode:
authoram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-09-16 17:49:38 +0000
committeram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-09-16 17:49:38 +0000
commit51257c29633432c4ecc418fd07726b798508c613 (patch)
tree07796fafba1b3a19a9b14e159a49569d3f798525 /extractordialog.cpp
parent5e86b6d1cff1d9baacad8c34b062267a382b1990 (diff)
downloadSheMov-51257c29633432c4ecc418fd07726b798508c613.tar.gz
SheMov-51257c29633432c4ecc418fd07726b798508c613.tar.bz2
SheMov-51257c29633432c4ecc418fd07726b798508c613.zip
-Removed some qDebug() statements
-Removed filtering of extractor output (not tested) -Changed SelectionMode of filemanager to ExtendedSelection -Fixed bug in SheMov::setFreeFS -Size of selected files is now shown in filemanager git-svn-id: file:///var/svn/repos2/shemov/trunk@407 f440f766-f032-0410-8965-dc7d17de2ca0
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());
}
}