[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdeui/kernel
From: David Faure <faure () kde ! org>
Date: 2010-12-22 17:49:05
Message-ID: 20101222174905.4C3A8AC8AA () svn ! kde ! org
[Download RAW message or body]
SVN commit 1208648 by dfaure:
Use an existing debug area, 240, instead of 101.
M +5 -5 kapplication.cpp
M +1 -1 kglobalsettings.cpp
--- trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp #1208647:1208648
@@ -511,9 +511,9 @@
qDBusBindToApplication();
QDBusConnectionInterface *bus = 0;
if (!QDBusConnection::sessionBus().isConnected() || !(bus = \
QDBusConnection::sessionBus().interface())) {
- kFatal(101) << "Session bus not found" << endl <<
+ kFatal(240) << "Session bus not found" << endl <<
"To circumvent this problem try the following command (with \
Linux and bash)" << endl <<
- "export $(dbus-launch)" << endl;
+ "export $(dbus-launch)";
::exit(125);
}
@@ -533,7 +533,7 @@
const QString pidSuffix = QString::number( getpid() ).prepend( \
QLatin1String("-") );
const QString serviceName = reversedDomain + q->applicationName() + pidSuffix;
if ( bus->registerService(serviceName) == \
QDBusConnectionInterface::ServiceNotRegistered ) {
- kError(101) << "Couldn't register name '" << serviceName << "' with DBUS - \
another process owns it already!" << endl; + kError(240) << "Couldn't \
register name '" << serviceName << "' with DBUS - another process owns it already!" \
<< endl; ::exit(126);
}
}
@@ -1025,7 +1025,7 @@
if( QDir::isRelativePath(pFilename) )
{
- kWarning(101) << "Relative filename passed to KApplication::tempSaveName";
+ kWarning(240) << "Relative filename passed to KApplication::tempSaveName";
aFilename = QFileInfo( QDir( QLatin1String(".") ), pFilename \
).absoluteFilePath(); }
else
@@ -1058,7 +1058,7 @@
if( QDir::isRelativePath(pFilename) )
{
- kWarning(101) << "Relative filename passed to KApplication::tempSaveName";
+ kWarning(240) << "Relative filename passed to KApplication::tempSaveName";
aFilename = QFileInfo( QDir( QLatin1String(".") ), pFilename \
).absoluteFilePath(); }
else
--- trunk/KDE/kdelibs/kdeui/kernel/kglobalsettings.cpp #1208647:1208648
@@ -901,7 +901,7 @@
break;
default:
- kWarning(101) << "Unknown type of change in \
KGlobalSettings::slotNotifyChange: " << changeType; + kWarning(240) << \
"Unknown type of change in KGlobalSettings::slotNotifyChange: " << changeType; }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic