Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 4ab4be8c authored by Laurent Montel's avatar Laurent Montel 😁

Use QString directly here

parent 92c56713
......@@ -27,11 +27,11 @@
#include <kwallet.h>
KWalletPopup::KWalletPopup(const QString &wallet, QWidget *parent, const char *name)
KWalletPopup::KWalletPopup(const QString &wallet, QWidget *parent, const QString &name)
: QMenu(parent), _walletName(wallet)
{
addSection(wallet);
setObjectName(QLatin1String(name));
setObjectName(name);
KActionCollection *ac = new KActionCollection(this/*, "kwallet context actions"*/);
ac->setObjectName(QStringLiteral("kwallet context actions"));
QAction *act;
......
......@@ -28,7 +28,7 @@ class KWalletPopup : public QMenu
Q_OBJECT
public:
explicit KWalletPopup(const QString &wallet, QWidget *parent = 0, const char *name = 0);
explicit KWalletPopup(const QString &wallet, QWidget *parent = nullptr, const QString &name = QString());
virtual ~KWalletPopup();
public slots:
......
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