Allow tab titles to include the window title set by the shell. Fix arithmetic exception when trying to shrink/expand the current view if it is the only view open.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663712
This commit is contained in:
Robert Knight
2007-05-12 06:04:02 +00:00
parent 07b1e29c0c
commit 53d5b76910
5 changed files with 24 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ QString ProcessInfo::format(const QString& input) const
output.replace("%d",QFileInfo(currentDir(&ok)).baseName());
// remove any remaining %[LETTER] sequences
output.replace(QRegExp("%\\w"),QString::null);
// output.replace(QRegExp("%\\w"),QString::null);
return output;
}
@@ -476,7 +476,7 @@ QString SSHProcessInfo::format(const QString& input) const
output.replace("%c",_command);
// remove any remaining %[LETTER] character sequences
output.replace(QRegExp("%\\w"),QString::null);
// output.replace(QRegExp("%\\w"),QString::null);
return output;
}