mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-12 02:39:34 +00:00
less warnings
This commit is contained in:
parent
f5cb5b04dc
commit
57aa7db0e3
examples/tlssocket
plugins
src
@ -1,9 +1,10 @@
|
||||
set(tlssocket_bin_SRCS tlssocket.cpp main.cpp)
|
||||
set(tlssocket_bin_moc_SRCS tlssocket.cpp)
|
||||
set(tlssocket_bin_nonmoc_SRCS main.cpp)
|
||||
|
||||
|
||||
MY_AUTOMOC( tlssocket_bin_SRCS)
|
||||
MY_AUTOMOC( tlssocket_bin_moc_SRCS)
|
||||
|
||||
add_executable(tlssocket ${tlssocket_bin_SRCS})
|
||||
add_executable(tlssocket ${tlssocket_bin_moc_SRCS} ${tlssocket_bin_nonmoc_SRCS})
|
||||
|
||||
target_link_libraries( tlssocket qca ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY})
|
||||
|
||||
|
@ -304,7 +304,7 @@ static bool stringToKeyList(const QString &outstr, GpgOp::KeyList *_keylist, QSt
|
||||
|
||||
bool key = false; // key or not
|
||||
bool primary = false; // primary key or sub key
|
||||
bool sec = false; // private key or not
|
||||
// bool sec = false; // private key or not
|
||||
|
||||
if(type == "pub")
|
||||
{
|
||||
@ -315,7 +315,7 @@ static bool stringToKeyList(const QString &outstr, GpgOp::KeyList *_keylist, QSt
|
||||
{
|
||||
key = true;
|
||||
primary = true;
|
||||
sec = true;
|
||||
// sec = true;
|
||||
}
|
||||
else if(type == "sub")
|
||||
{
|
||||
@ -324,7 +324,7 @@ static bool stringToKeyList(const QString &outstr, GpgOp::KeyList *_keylist, QSt
|
||||
else if(type == "ssb")
|
||||
{
|
||||
key = true;
|
||||
sec = true;
|
||||
// sec = true;
|
||||
}
|
||||
|
||||
if(key)
|
||||
|
@ -1504,8 +1504,9 @@ class softstorePlugin : public QObject, public QCAPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
#if QT_VERSION >= 0x050000
|
||||
Q_INTERFACES(QCAPlugin)
|
||||
Q_PLUGIN_METADATA(IID "org.psi-im.qca-softstore")
|
||||
#endif
|
||||
Q_INTERFACES(QCAPlugin)
|
||||
|
||||
public:
|
||||
virtual Provider *createProvider() { return new softstoreProvider; }
|
||||
|
@ -23,6 +23,7 @@ SET( nonmoc_SOURCES
|
||||
qca_plugin.cpp
|
||||
qca_textfilter.cpp
|
||||
qca_basic.cpp
|
||||
qca_safeobj.cpp
|
||||
support/logger.cpp
|
||||
)
|
||||
|
||||
@ -32,7 +33,6 @@ SET( moc_SOURCES
|
||||
qca_default.cpp
|
||||
qca_keystore.cpp
|
||||
qca_publickey.cpp
|
||||
qca_safeobj.cpp
|
||||
qca_securelayer.cpp
|
||||
qca_securemessage.cpp
|
||||
support/qpipe.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user