[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/konqueror/settings/kio
From: Richard Lärkäng <richard () goteborg ! utfors ! se>
Date: 2007-08-19 20:27:26
Message-ID: 1187555246.638558.19740.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 701966 by larkang:
Don't crash
M +4 -9 ksaveioconfig.cpp
--- trunk/KDE/kdebase/apps/konqueror/settings/kio/ksaveioconfig.cpp #701965:701966
@@ -238,14 +238,10 @@
{
// Inform all running io-slaves about the changes...
// if we cannot update, ioslaves inform the end user...
-#ifdef __GNUC__
-#warning "kde4: Verify it"
-#endif
- QDBusMessage message =
- QDBusMessage::createSignal("/KIO/Scheduler", "org.kde.KIO.Scheduler", \
"reparseSlaveConfiguration");
- QDBusConnection::sessionBus().send(message);
-#if 0
- if (!DCOPRef("*", "KIO::Scheduler").send("reparseSlaveConfiguration", QString()))
+ QDBusMessage message =
+ QDBusMessage::createSignal("/KIO/Scheduler", "org.kde.KIO.Scheduler", \
"reparseSlaveConfiguration"); + message << QString();
+ if (!QDBusConnection::sessionBus().send(message))
{
QString caption = i18n("Update Failed");
QString message = i18n("You have to restart the running applications "
@@ -253,7 +249,6 @@
KMessageBox::information (parent, message, caption);
return;
}
-#endif
}
void KSaveIOConfig::updateProxyScout( QWidget * parent )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic