From 054a5eca0459e4c273aff3ca25077f0cd329b0c3 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 7 Jan 2009 12:27:38 +0000 Subject: [PATCH] Fix compile with enable final svn path=/trunk/KDE/kdebase/apps/; revision=907022 --- src/dolphintooltip.cpp | 3 --- src/dolphintooltip.h | 8 ++++++-- src/tooltipmanager.cpp | 2 -- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/dolphintooltip.cpp b/src/dolphintooltip.cpp index f0960a1bd..bc3be33aa 100644 --- a/src/dolphintooltip.cpp +++ b/src/dolphintooltip.cpp @@ -25,9 +25,6 @@ #include -const int PREVIEW_WIDTH = 256; -const int PREVIEW_HEIGHT = 256; - DolphinBalloonTooltipDelegate::DolphinBalloonTooltipDelegate() { } diff --git a/src/dolphintooltip.h b/src/dolphintooltip.h index 568e3ea78..cfc438831 100644 --- a/src/dolphintooltip.h +++ b/src/dolphintooltip.h @@ -16,9 +16,9 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ - + // NOTE: proper documentation will be added once the code is better developed. - + #ifndef DOLPHINTOOLTIP_H #define DOLPHINTOOLTIP_H @@ -31,6 +31,10 @@ class KFileItem; class QPixmap; +const int PREVIEW_WIDTH = 256; +const int PREVIEW_HEIGHT = 256; + + class DolphinBalloonTooltipDelegate : public KFormattedBalloonTipDelegate { public: diff --git a/src/tooltipmanager.cpp b/src/tooltipmanager.cpp index a3faa6923..eb3aa6f70 100644 --- a/src/tooltipmanager.cpp +++ b/src/tooltipmanager.cpp @@ -33,8 +33,6 @@ #include #include -const int PREVIEW_WIDTH = 256; -const int PREVIEW_HEIGHT = 256; const int ICON_WIDTH = 128; const int ICON_HEIGHT = 128; const int PREVIEW_DELAY = 250; -- 2.47.3