This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Warning messages when running ktorrent from the command line

Tags: None
(comma "," separated)
johnjaylward
Registered Member
Posts
63
Karma
0
I receive the following messages when I run ktorrent from the command line. The don't seem to impact the actual running of the program and just seem more QA related:
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
Warning: QSystemTrayIcon::setVisible: No Icon set

The messages make it seem like they should be easily fixed, but I'm not much of a Qt/KDE developer :D
George
Moderator
Posts
5421
Karma
1
The messages make it seem like they should be easily fixed


They aren't easily fixed, not even sure they can be fixed. But given the fact that they don't cause any problems, there is no need to fix them.
User avatar
dusanic
Registered Member
Posts
15
Karma
0
OS
I would really like to see them fixed one day even if they do not do any harm. I use the command line extensively and sometimes it just bothers and maybe delays also the opening e.g. of Kate/Dolphin as root user.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The QDBusConnection messages will be fixed with updated versions of Qt/KDE.

The KGlobal::locale message indicates that the i18n() function is being used by KTorrent before KAboutData and KApplication are initialised. The i18n() function is responsible for translations in KDE applications. Applications should use ki18n() instead, which will delay translation until everything is initialised.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell