Commit 3487d16c authored by Kurt Hindenburg's avatar Kurt Hindenburg

Revert back to use KTextEdit for ZModem dialog for now

parent 9dd95e19
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
// KDE // KDE
#include <KLocalizedString> #include <KLocalizedString>
#include <QTextEdit> #include <KTextEdit>
#include <QDialogButtonBox> #include <QDialogButtonBox>
#include <QPushButton> #include <QPushButton>
#include <KGuiItem> #include <KGuiItem>
...@@ -50,7 +50,7 @@ ZModemDialog::ZModemDialog(QWidget *aParent, bool modal, const QString &caption) ...@@ -50,7 +50,7 @@ ZModemDialog::ZModemDialog(QWidget *aParent, bool modal, const QString &caption)
connect(mButtonBox, &QDialogButtonBox::rejected, this, &Konsole::ZModemDialog::slotCancel); connect(mButtonBox, &QDialogButtonBox::rejected, this, &Konsole::ZModemDialog::slotCancel);
connect(mButtonBox, &QDialogButtonBox::accepted, this, &Konsole::ZModemDialog::slotClose); connect(mButtonBox, &QDialogButtonBox::accepted, this, &Konsole::ZModemDialog::slotClose);
_textEdit = new QTextEdit(this); _textEdit = new KTextEdit(this);
_textEdit->setMinimumSize(400, 100); _textEdit->setMinimumSize(400, 100);
_textEdit->setReadOnly(true); _textEdit->setReadOnly(true);
mainLayout->addWidget(_textEdit); mainLayout->addWidget(_textEdit);
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <QDialog> #include <QDialog>
class QTextEdit; class KTextEdit;
class QDialogButtonBox; class QDialogButtonBox;
class QPushButton; class QPushButton;
namespace Konsole { namespace Konsole {
...@@ -58,7 +58,7 @@ private: ...@@ -58,7 +58,7 @@ private:
Q_DISABLE_COPY(ZModemDialog) Q_DISABLE_COPY(ZModemDialog)
void delayedDestruct(); void delayedDestruct();
QTextEdit *_textEdit; KTextEdit *_textEdit;
QDialogButtonBox *mButtonBox; QDialogButtonBox *mButtonBox;
}; };
} }
......
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