Commit 3c8e8667 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compile. Disable KDEPIM_HAVE_X11 for the moment doesn't compile

parent 69b5678c
......@@ -1411,6 +1411,7 @@ QString runKMail(bool minimise)
*/
bool Private::startKMailMinimised()
{
#if 0 //PORT QT5
#if KDEPIM_HAVE_X11
NETRootInfo i(QX11Info::display(), NET::Supported);
if (i.isSupported(NET::WM2KDETemporaryRules))
......@@ -1450,6 +1451,9 @@ bool Private::startKMailMinimised()
#else
return false;
#endif
#else
return false;
#endif
}
/******************************************************************************
......@@ -1458,6 +1462,7 @@ bool Private::startKMailMinimised()
*/
void Private::windowAdded(WId w)
{
#if 0 //Port QT5
#if KDEPIM_HAVE_X11
static const int SUPPORTED_TYPES = NET::NormalMask | NET::DesktopMask | NET::DockMask
| NET::ToolbarMask | NET::MenuMask | NET::DialogMask
......@@ -1488,6 +1493,7 @@ void Private::windowAdded(WId w)
XSync(QX11Info::display(), False);
QApplication::flush();
#endif
#endif
}
/******************************************************************************
......
......@@ -22,6 +22,7 @@
#define PUSHBUTTON_H
#include <QPushButton>
#include <KIcon>
class QMouseEvent;
class QKeyEvent;
class KGuiItem;
......
......@@ -28,6 +28,7 @@
#include "sounddlg.h"
#include "soundpicker.h"
#include <KIcon>
#include <kglobal.h>
#include <klocale.h>
#include <kfiledialog.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment