[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_1_BRANCH: kdebase/kioslave/thumbnail
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2003-01-13 17:16:10
[Download RAW message or body]
CVS commit by lunakl:
And backport r1.28.
M +5 -4 thumbnail.cpp 1.26.2.2
--- kdebase/kioslave/thumbnail/thumbnail.cpp #1.26.2.1:1.26.2.2
@@ -80,13 +80,14 @@ extern "C"
int kdemain(int argc, char **argv)
{
- // creating QApplication in a slave in not a very good idea,
+ // creating KApplication in a slave in not a very good idea,
// as dispatchLoop() doesn't allow it to process its messages,
// so it for example wouldn't reply to ksmserver - on the other
// hand, this slave uses QPixmaps for some reason, and they
// need QApplication
+ // and HTML previews need even KApplication :(
putenv(strdup("SESSION_MANAGER="));
+ KApplication::disableAutoDcopRegistration();
- QApplication app(argc, argv );
- KInstance instance( "kio_thumbnail" );
+ KApplication app(argc, argv, "kio_thumbnail", false, true);
if (argc != 4)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic