qt: Remove obsolete code.
* lang/qt/src/qgpgmenewcryptoconfig.cpp (struct Select1St): Remove. -- This struct was never used in this implementation of the crypto config classes and it causes a build error with Qt 6 where QPair is an alias for std::pair.
This commit is contained in:
parent
8d019bbb8d
commit
4938c24a46
@ -59,22 +59,6 @@ using namespace QGpgME;
|
|||||||
using namespace GpgME;
|
using namespace GpgME;
|
||||||
using namespace GpgME::Configuration;
|
using namespace GpgME::Configuration;
|
||||||
|
|
||||||
namespace
|
|
||||||
{
|
|
||||||
struct Select1St {
|
|
||||||
template <typename U, typename V>
|
|
||||||
const U &operator()(const std::pair<U, V> &p) const
|
|
||||||
{
|
|
||||||
return p.first;
|
|
||||||
}
|
|
||||||
template <typename U, typename V>
|
|
||||||
const U &operator()(const QPair<U, V> &p) const
|
|
||||||
{
|
|
||||||
return p.first;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
// Just for the Q_ASSERT in the dtor. Not thread-safe, but who would
|
// Just for the Q_ASSERT in the dtor. Not thread-safe, but who would
|
||||||
// have 2 threads talking to gpgconf anyway? :)
|
// have 2 threads talking to gpgconf anyway? :)
|
||||||
static bool s_duringClear = false;
|
static bool s_duringClear = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user