Commit 8f7ce559 authored by David Redondo's avatar David Redondo 🏎

Do not remove virtual method from build

Method was deprecated in fc5738ab. Removing the
method when building without deprecated methods (for example the pim runner
does this) changes the vtable leading to crashes.
BUG: 423003
parent 8574af93
......@@ -244,12 +244,10 @@ void AbstractRunner::setHasRunOptions(bool hasRunOptions)
}
#endif
#if KRUNNER_BUILD_DEPRECATED_SINCE(5, 71)
void AbstractRunner::createRunOptions(QWidget *parent)
{
Q_UNUSED(parent)
}
#endif
AbstractRunner::Speed AbstractRunner::speed() const
{
......
......@@ -161,7 +161,6 @@ class KRUNNER_EXPORT AbstractRunner : public QObject
bool hasRunOptions();
#endif
#if KRUNNER_ENABLE_DEPRECATED_SINCE(5, 71)
/**
* If hasRunOptions() returns true, this method may be called to get
* a widget displaying the options the user can interact with to modify
......@@ -172,7 +171,6 @@ class KRUNNER_EXPORT AbstractRunner : public QObject
*/
KRUNNER_DEPRECATED_VERSION_BELATED(5, 71, 5, 0, "No longer use, feature removed")
virtual void createRunOptions(QWidget *widget);
#endif
/**
* Called whenever an exact or possible match associated with this
......
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