Application: Use shared pointers

Fixes #1239
This commit is contained in:
Jonas Kvinge
2023-07-21 05:55:24 +02:00
parent d6b53f78ab
commit 2e61235403
316 changed files with 2170 additions and 1643 deletions

View File

@@ -24,14 +24,13 @@
#include "config.h"
#include <memory>
#include <QObject>
#include <QSettings>
#include <QMap>
#include <QString>
#include <QKeySequence>
#include "core/scoped_ptr.h"
#include "globalshortcuts/globalshortcutsmanager.h"
#include "settingspage.h"
@@ -77,7 +76,7 @@ class GlobalShortcutsSettingsPage : public SettingsPage {
Ui_GlobalShortcutsSettingsPage *ui_;
bool initialized_;
std::unique_ptr<GlobalShortcutGrabber> grabber_;
ScopedPtr<GlobalShortcutGrabber> grabber_;
QMap<QString, Shortcut> shortcuts_;