[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/ksmserver
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-10-17 11:24:15
[Download RAW message or body]

CVS commit by lunakl: 

Don't use deprecated methods.


  M +3 -3      server.cpp   1.118


--- kdebase/ksmserver/server.cpp  #1.117:1.118
@@ -156,5 +156,5 @@ char * safeSmsGenerateClientID( SmsConn 
        if (!my_addr) {
            qWarning("Can't get own host name. Your system is severely misconfigured\n");
-           my_addr = smy_addr.setObject(new QString);
+           smy_addr.setObject(my_addr,new QString);
 
            /* Faking our IP address, the 0 below is "unknown" address format
@@ -822,5 +822,5 @@ KSMServer::KSMServer( const QString& win
     connect( kapp, SIGNAL( shutDown() ), this, SLOT( cleanUp() ) );
 
-    KNotifyClient::event( "startkde" ); // this is the time KDE is up
+    KNotifyClient::event( 0, "startkde" ); // this is the time KDE is up
 }
 
@@ -1009,5 +1009,5 @@ void KSMServer::shutdown( KApplication::
         // clean regardless of what was on "our" desktop.
         kapp->desktop()->setBackgroundColor( Qt::black );
-        KNotifyClient::event( "exitkde" ); // KDE says good bye
+        KNotifyClient::event( 0, "exitkde" ); // KDE says good bye
         state = Shutdown;
         wmPhase1WaitingCount = 0;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic