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);
Created attachment 8414 [details] patch for showfoto kde-3.1 compatibility there is the patch as an attachment
Patch apply. thanks.