Commit 44439dfa authored by Adriaan de Groot's avatar Adriaan de Groot 💬 Committed by Ingo Klöcker
Browse files

Avoid RTTI mix-ups by exporting KeyListModelInterface

This attempts to fix a crash on FreeBSD. See: D26393 for
more info.

BUG: 415168
parent 16110f4e
Pipeline #47569 passed with stage
in 10 minutes and 13 seconds
......@@ -30,6 +30,7 @@ set(libkleo_core_SRCS
kleo/oidmap.cpp
models/keycache.cpp
models/keylistmodel.cpp
models/keylistmodelinterface.cpp
models/keylistsortfilterproxymodel.cpp
models/keyrearrangecolumnsproxymodel.cpp
models/subkeylistmodel.cpp
......
/* -*- mode: c++; c-basic-offset:4 -*-
models/keylistmodelinterface.cpp
This file is part of libkleo, the KDE keymanagement library
SPDX-FileCopyrightText: 2021 g10 Code GmbH
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "keylistmodelinterface.h"
Kleo::KeyListModelInterface::~KeyListModelInterface()
{
}
......@@ -12,6 +12,8 @@
#include <vector>
#include <kleo_export.h>
namespace GpgME
{
class Key;
......@@ -23,10 +25,10 @@ template <typename T> class QList;
namespace Kleo
{
class KeyListModelInterface
class KLEO_EXPORT KeyListModelInterface
{
public:
virtual ~KeyListModelInterface() {}
virtual ~KeyListModelInterface();
static const int FingerprintRole = 0xF1;
static const int KeyRole = 0xF2;
......
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