mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kcontrol: adjust to changes in Katie
7818a35c32
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
524ca13310
commit
70b7649757
1 changed files with 5 additions and 9 deletions
|
@ -573,12 +573,8 @@ void runRdb( uint flags )
|
|||
// Cheat and use the current timestamp, since we just saved to qtrc.
|
||||
QDateTime settingsstamp = QDateTime::currentDateTime();
|
||||
|
||||
static Atom qt_settings_timestamp = 0;
|
||||
if (!qt_settings_timestamp) {
|
||||
QString atomname("_QT_SETTINGS_TIMESTAMP_");
|
||||
atomname += XDisplayName( 0 ); // Use the $DISPLAY envvar.
|
||||
qt_settings_timestamp = XInternAtom( QX11Info::display(), atomname.toLatin1(), False);
|
||||
}
|
||||
static const QByteArray atomname("_QT_SETTINGS_TIMESTAMP");
|
||||
static Atom qt_settings_timestamp = XInternAtom( QX11Info::display(), atomname.constData(), False);
|
||||
|
||||
QBuffer stamp;
|
||||
QDataStream s(&stamp.buffer(), QIODevice::WriteOnly);
|
||||
|
|
Loading…
Add table
Reference in a new issue