| Summary: | Keeping compatibility in Showfoto | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Martin Laberge <mlsoft> |
| Component: | Showfoto-Core | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 7.6.0 | |
| Sentry Crash Report: | |||
| Attachments: | patch for showfoto kde-3.1 compatibility | ||
Created attachment 8414 [details]
patch for showfoto kde-3.1 compatibility
there is the patch as an attachment
Patch apply. thanks. |
Version: 0.7.1-cvs (using KDE 3.1.4) Installed from: compiled sources Compiler: gcc version 3.2.3 OS: Linux (i686) release 2.4.26 here is a little patch to keep kde-3.1 compatibility in the last changes in showfoto --- showfoto.cpp.old 2004-11-24 08:07:36.000000000 -0500 +++ showfoto.cpp 2004-11-24 08:08:21.000000000 -0500 @@ -28,6 +28,8 @@ #include <kimageio.h> #include <kaccel.h> +#include <kdeversion.h> + #include "canvas.h" #include "thumbbar.h" #include "showfoto.h" @@ -92,8 +94,14 @@ this, SLOT(slotAutoFit()), actionCollection(), "zoom_fit"); +#if KDE_VERSION >= 0x30200 KStdAction::fullScreen(this, SLOT(slotToggleFullScreen()), actionCollection(), this, "full_screen"); +#else + KAction("Fullscreen",Key_F, + this,SLOT(slotToggleFullScreen()), + actionCollection(), "full_screen"); +#endif createGUI("showfotoui.rc", false);