Commit 61cec157 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Do not use deprecated calls

parent 88d62b9b
......@@ -103,7 +103,7 @@ void QuickCommandsPlugin::activeViewChanged(Konsole::SessionController *controll
{
const QString feedbackMessage = QStringLiteral("Please enable the plugin on Plugins -> Quick Commands");
const QString feedbackTitle = QStringLiteral("Plugins - Quick Commands");
KMessageBox::sorry(terminalDisplay->topLevelWidget(), feedbackMessage, feedbackTitle);
KMessageBox::error(terminalDisplay->topLevelWidget(), feedbackMessage, feedbackTitle);
return;
}
......
......@@ -141,7 +141,7 @@ void SSHManagerPlugin::activeViewChanged(Konsole::SessionController *controller,
{
const QString feedbackMessage = QStringLiteral("Please enable the plugin on Plugins -> SSH Manager");
const QString feedbackTitle = QStringLiteral("Plugins - SSH Manager");
KMessageBox::sorry(terminalDisplay->topLevelWidget(), feedbackMessage, feedbackTitle);
KMessageBox::error(terminalDisplay->topLevelWidget(), feedbackMessage, feedbackTitle);
return;
}
......
Supports Markdown
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