Commit a8c7c1de authored by Kurt Hindenburg's avatar Kurt Hindenburg

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

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1017606
parent df86a1b5
......@@ -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)
......
......@@ -1103,7 +1103,7 @@ void SessionController::zmodemUpload()
QStringList files = KFileDialog::getOpenFileNames(KUrl(), QString(), _view,
i18n("Select Files for ZModem Upload"));
if(!files.isEmpty()) {
_session->startZModem(zmodem, QString::null, files);
_session->startZModem(zmodem, QString(), files);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment