diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/btdeviceselectiondialog.h | 1 | ||||
-rw-r--r-- | desktop-widgets/printer.cpp | 4 | ||||
-rw-r--r-- | desktop-widgets/printer.h | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/desktop-widgets/btdeviceselectiondialog.h b/desktop-widgets/btdeviceselectiondialog.h index ebdc53b7d..62cd0eb56 100644 --- a/desktop-widgets/btdeviceselectiondialog.h +++ b/desktop-widgets/btdeviceselectiondialog.h @@ -4,7 +4,6 @@ #include <QDialog> #include <QListWidgetItem> -#include <QPointer> #include <QtBluetooth/QBluetoothLocalDevice> #include <QtBluetooth/QBluetoothDeviceDiscoveryAgent> diff --git a/desktop-widgets/printer.cpp b/desktop-widgets/printer.cpp index 93155daa3..f38b661c5 100644 --- a/desktop-widgets/printer.cpp +++ b/desktop-widgets/printer.cpp @@ -31,7 +31,7 @@ Printer::~Printer() } void Printer::putProfileImage(const QRect &profilePlaceholder, const QRect &viewPort, QPainter *painter, - struct dive *dive, QPointer<ProfileWidget2> profile) + struct dive *dive, ProfileWidget2 *profile) { int x = profilePlaceholder.x() - viewPort.x(); int y = profilePlaceholder.y() - viewPort.y(); @@ -125,7 +125,7 @@ void Printer::flowRender() void Printer::render(int Pages = 0) { // keep original preferences - QPointer<ProfileWidget2> profile = MainWindow::instance()->graphics; + ProfileWidget2 *profile = MainWindow::instance()->graphics; int profileFrameStyle = profile->frameStyle(); int animationOriginal = qPrefDisplay::animation_speed(); double fontScale = profile->getFontPrintScale(); diff --git a/desktop-widgets/printer.h b/desktop-widgets/printer.h index 5c9fc661b..8030e9f75 100644 --- a/desktop-widgets/printer.h +++ b/desktop-widgets/printer.h @@ -32,7 +32,7 @@ private: void render(int Pages); void flowRender(); void putProfileImage(const QRect &box, const QRect &viewPort, QPainter *painter, - struct dive *dive, QPointer<ProfileWidget2> profile); + struct dive *dive, ProfileWidget2 *profile); private slots: void templateProgessUpdated(int value); |