mirror of
https://github.com/KDE/konsole.git
synced 2026-06-12 16:05:45 -04:00
Add pragma to keep track of KFileDialog crashes
This commit is contained in:
@@ -1591,6 +1591,7 @@ void SessionController::zmodemDownload()
|
||||
if (zmodem.isEmpty()) {
|
||||
zmodem = QStandardPaths::findExecutable("lrz");
|
||||
}
|
||||
#pragma message("Fix crashes with KFileDialog")
|
||||
if (!zmodem.isEmpty()) {
|
||||
const QString path = KFileDialog::getExistingDirectory(
|
||||
KUrl(), _view,
|
||||
@@ -1628,6 +1629,7 @@ void SessionController::zmodemUpload()
|
||||
return;
|
||||
}
|
||||
|
||||
#pragma message("Fix crashes with KFileDialog")
|
||||
QStringList files = KFileDialog::getOpenFileNames(KUrl(), QString(), _view,
|
||||
i18n("Select Files for ZModem Upload"));
|
||||
if (!files.isEmpty()) {
|
||||
@@ -1682,6 +1684,7 @@ void SaveHistoryTask::execute()
|
||||
// TODO - show a warning ( preferably passive ) if saving the history output fails
|
||||
//
|
||||
|
||||
#pragma message("Fix crashes with KFileDialog")
|
||||
KFileDialog* dialog = new KFileDialog(KUrl(QString(":konsole")) /* check this */,
|
||||
QString(), QApplication::activeWindow());
|
||||
dialog->setOperationMode(KFileDialog::Saving);
|
||||
|
||||
Reference in New Issue
Block a user