diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-04-22 10:33:43 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-04-22 10:33:43 +0000 |
commit | e6200c31f757b78d6a3513e9546735b92b8e6b94 (patch) | |
tree | ca7f902f3db921930f09fe2537d8802771839982 /vcl | |
parent | c345f434ce87e8a697522a67ec71388ccf34f929 (diff) |
INTEGRATION: CWS kdefixes02 (1.5.4); FILE MERGED
2005/04/18 09:37:30 kendy 1.5.4.1: #i47401#
Remove the necessity to build with --enable-libsn to have startup notification
working with KDE vclplug.
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/kde/salnativewidgets-kde.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx index e387ca0184cf..5781f638dd8d 100644 --- a/vcl/unx/kde/salnativewidgets-kde.cxx +++ b/vcl/unx/kde/salnativewidgets-kde.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salnativewidgets-kde.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2005-04-08 16:17:22 $ + * last change: $Author: obo $ $Date: 2005-04-22 11:33:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -94,6 +94,7 @@ #include <kglobal.h> #include <kmainwindow.h> #include <kmenubar.h> +#include <kstartupinfo.h> #include <kstyle.h> #undef Region @@ -1711,6 +1712,13 @@ BOOL KDESalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar // KDESalFrame implementation // ----------------------------------------------------------------------- +KDESalFrame::KDESalFrame( SalFrame* pParent, ULONG nStyle ) : + X11SalFrame( pParent, nStyle ) +{ + if ( !pParent ) + KStartupInfo::appStarted(); +} + /** Helper function to convert colors. */ static Color toColor( const QColor &rColor ) |