mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4a7c54a13b
commit
94006c31a8
2 changed files with 0 additions and 19 deletions
|
@ -60,9 +60,6 @@ SwapFile::SwapFile(KateDocument *document)
|
|||
, m_recovered(false)
|
||||
, m_needSync(false)
|
||||
{
|
||||
// fixed version of serialisation
|
||||
m_stream.setVersion (QDataStream::Qt_4_6);
|
||||
|
||||
// conect the timer
|
||||
connect(syncTimer(), SIGNAL(timeout()), this, SLOT(writeFileToDisk()), Qt::DirectConnection);
|
||||
|
||||
|
|
|
@ -99,22 +99,6 @@ extern "C"
|
|||
if (exportKDEColors)
|
||||
flags |= KRdbExportColors;
|
||||
runRdb( flags );
|
||||
|
||||
// Write some Qt root property.
|
||||
#ifdef Q_WS_X11
|
||||
QByteArray properties;
|
||||
QDataStream d(&properties, QIODevice::WriteOnly);
|
||||
d.setVersion(QDataStream::Qt_4_8);
|
||||
d << kapp->palette() << KGlobalSettings::generalFont();
|
||||
Atom a = XInternAtom(QX11Info::display(), "_QT_DESKTOP_PROPERTIES", false);
|
||||
|
||||
// do it for all root windows - multihead support
|
||||
int screen_count = ScreenCount(QX11Info::display());
|
||||
for (int i = 0; i < screen_count; i++)
|
||||
XChangeProperty(QX11Info::display(), RootWindow(QX11Info::display(), i),
|
||||
a, a, 8, PropModeReplace,
|
||||
(unsigned char*) properties.data(), properties.size());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue