Fix an issue with my 1017187 commit and fix 1 krazy2 issue

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1017606
This commit is contained in:
Kurt Hindenburg
2009-08-31 00:25:54 +00:00
parent df86a1b528
commit a8c7c1de89
2 changed files with 2 additions and 2 deletions

View File

@@ -613,7 +613,7 @@ private:
QString fullDeviceName = QString("/dev/") + deviceNumber.rightJustified(3, '0');
delete [] kInfoProc;
QByteArray deviceName = fullDeviceName.toLatin1().constData();
QByteArray deviceName = fullDeviceName.toLatin1();
const char* ttyName = deviceName.data();
if (KDE_stat(ttyName, &statInfo) != 0)