mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
Fixed constructor of RsAction
This commit is contained in:
parent
c4d1de06d0
commit
23f925f81e
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include "util/RsAction.h"
|
#include "util/RsAction.h"
|
||||||
|
|
||||||
RsAction::RsAction(QWidget * parent, std::string rsid)
|
RsAction::RsAction(QObject * parent, std::string rsid)
|
||||||
: QAction(parent), RsId(rsid)
|
: QAction(parent), RsId(rsid)
|
||||||
{
|
{
|
||||||
connect(this, SIGNAL( triggered( bool ) ), this, SLOT( triggerEvent( bool ) ) );
|
connect(this, SIGNAL( triggered( bool ) ), this, SLOT( triggerEvent( bool ) ) );
|
||||||
|
|
|
@ -28,7 +28,7 @@ class RsAction : public QAction {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
|
||||||
RsAction(QWidget * parent, std::string rsid);
|
RsAction(QObject *parent, std::string rsid);
|
||||||
RsAction(const QString & text, QObject * parent, std::string rsid);
|
RsAction(const QString & text, QObject * parent, std::string rsid);
|
||||||
RsAction(const QIcon & icon, const QString & text, QObject * parent , std::string rsid);
|
RsAction(const QIcon & icon, const QString & text, QObject * parent , std::string rsid);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue