-rw-r--r-- | core/applets/screenshotapplet/screenshotapplet.pro | 4 | ||||
-rw-r--r-- | core/applets/screenshotapplet/screenshotappletimpl.cpp | 10 | ||||
-rw-r--r-- | core/applets/screenshotapplet/screenshotappletimpl.h | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/core/applets/screenshotapplet/screenshotapplet.pro b/core/applets/screenshotapplet/screenshotapplet.pro index 095cce2..bec49b7 100644 --- a/core/applets/screenshotapplet/screenshotapplet.pro +++ b/core/applets/screenshotapplet/screenshotapplet.pro | |||
@@ -5,6 +5,6 @@ SOURCES = screenshot.cpp screenshotappletimpl.cpp | |||
5 | TARGET = screenshotapplet | 5 | TARGET = screenshotapplet |
6 | DESTDIR = ../../plugins/applets | 6 | DESTDIR = ../../plugins/applets |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(QPEDIR)/include |
8 | DEPENDPATH += ../$(OPIEDIR)/include | 8 | DEPENDPATH += ../$(QPEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | VERSION = 1.0.0 | 10 | VERSION = 1.0.0 |
diff --git a/core/applets/screenshotapplet/screenshotappletimpl.cpp b/core/applets/screenshotapplet/screenshotappletimpl.cpp index f1a9827..a537162 100644 --- a/core/applets/screenshotapplet/screenshotappletimpl.cpp +++ b/core/applets/screenshotapplet/screenshotappletimpl.cpp | |||
@@ -23,5 +23,5 @@ | |||
23 | 23 | ||
24 | ScreenshotAppletImpl::ScreenshotAppletImpl() | 24 | ScreenshotAppletImpl::ScreenshotAppletImpl() |
25 | : volume(0), ref(0) | 25 | : screenshot(0), ref(0) |
26 | { | 26 | { |
27 | } | 27 | } |
@@ -29,12 +29,12 @@ ScreenshotAppletImpl::ScreenshotAppletImpl() | |||
29 | ScreenshotAppletImpl::~ScreenshotAppletImpl() | 29 | ScreenshotAppletImpl::~ScreenshotAppletImpl() |
30 | { | 30 | { |
31 | delete volume; | 31 | delete screenshot; |
32 | } | 32 | } |
33 | 33 | ||
34 | QWidget *ScreenshotAppletImpl::applet( QWidget *parent ) | 34 | QWidget *ScreenshotAppletImpl::applet( QWidget *parent ) |
35 | { | 35 | { |
36 | if ( !volume ) | 36 | if ( !screenshot ) |
37 | volume = new ScreenshotApplet( parent ); | 37 | screenshot = new ScreenshotApplet( parent ); |
38 | return volume; | 38 | return screenshot; |
39 | } | 39 | } |
40 | 40 | ||
diff --git a/core/applets/screenshotapplet/screenshotappletimpl.h b/core/applets/screenshotapplet/screenshotappletimpl.h index deca7a9..00661a5 100644 --- a/core/applets/screenshotapplet/screenshotappletimpl.h +++ b/core/applets/screenshotapplet/screenshotappletimpl.h | |||
@@ -38,5 +38,5 @@ public: | |||
38 | 38 | ||
39 | private: | 39 | private: |
40 | ScreenshotApplet *volume; | 40 | ScreenshotApplet *screenshot; |
41 | ulong ref; | 41 | ulong ref; |
42 | }; | 42 | }; |