Replace all uses of QSignalMapper with lambda expressions

This commit is contained in:
Jonas Kvinge
2019-07-08 22:27:45 +02:00
parent f3e852c042
commit 8ebcb71e6e
13 changed files with 70 additions and 102 deletions

View File

@@ -28,14 +28,13 @@
#include <QObject>
#include <QWidget>
#include <QList>
#include <QAction>
#include <QMenu>
#include <QSignalMapper>
#include <QString>
#include <QtEvents>
#include "widgets/stretchheaderview.h"
class QMenu;
class QAction;
class PlaylistView;
class PlaylistHeader : public StretchHeaderView {
@@ -74,7 +73,6 @@ class PlaylistHeader : public StretchHeaderView {
QAction *align_right_action_;
QList<QAction*> show_actions_;
QSignalMapper *show_mapper_;
};
#endif // PLAYLISTHEADER_H