Commit b07d76c7 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port away from deprecated KNotification constructor

GIT_SILENT
parent 3c7257e5
......@@ -358,8 +358,9 @@ void BreakpointWidget::showBreakpointError(const QString& msg)
{
Q_D(BreakpointWidget);
auto * const errorPopup = new KNotification(QStringLiteral("BreakpointError"), d->breakpointsView);
auto * const errorPopup = new KNotification(QStringLiteral("BreakpointError"));
connect(errorPopup, &KNotification::closed, this, &BreakpointWidget::breakpointErrorPopupClosed);
errorPopup->setWidget(d->breakpointsView);
errorPopup->setText(msg);
errorPopup->sendEvent();
d->breakpointErrorMessageVisibile = true;
......
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