Commit bb157d33 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Use = default to define a trivial default destructor

parent 0d150499
......@@ -69,9 +69,7 @@ BookmarkHandler::BookmarkHandler(KActionCollection *collection, QMenu *menu, boo
bookmarkMenu->setParent(this);
}
BookmarkHandler::~BookmarkHandler()
{
}
BookmarkHandler::~BookmarkHandler() = default;
void BookmarkHandler::openBookmark(const KBookmark &bm, Qt::MouseButtons, Qt::KeyboardModifiers)
{
......
......@@ -109,9 +109,7 @@ TerminalImageFilterChain::TerminalImageFilterChain() :
{
}
TerminalImageFilterChain::~TerminalImageFilterChain()
{
}
TerminalImageFilterChain::~TerminalImageFilterChain() = default;
void TerminalImageFilterChain::setImage(const Character * const image, int lines, int columns,
const QVector<LineProperty> &lineProperties)
......@@ -427,9 +425,7 @@ UrlFilter::UrlFilter()
setRegExp(CompleteUrlRegExp);
}
UrlFilter::HotSpot::~HotSpot()
{
}
UrlFilter::HotSpot::~HotSpot() = default;
QList<QAction *> UrlFilter::HotSpot::actions()
{
......@@ -582,9 +578,7 @@ FileFilter::FileFilter(Session *session) :
setRegExp(re);
}
FileFilter::HotSpot::~HotSpot()
{
}
FileFilter::HotSpot::~HotSpot() = default;
QList<QAction *> FileFilter::HotSpot::actions()
{
......
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