[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/gwenview
From: Aurélien Gâteau <aurelien.gateau () free ! fr>
Date: 2006-11-01 23:35:21
Message-ID: 1162424121.285445.26802.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 601072 by gateau:
parentWidget may be 0, better get toplevel widget from KApplication.
BUG: 130379
M +1 -0 NEWS
M +2 -1 gvimagepart/gvimagepart.cpp
--- trunk/extragear/graphics/gwenview/NEWS #601071:601072
@@ -11,6 +11,7 @@
the name was very long (Bug 127004)
- Show the "rotate left" button in KParts.
- Use Exiv2 instead of libexif to fix troubles with some JPEG (Bug 136112).
+ - Fix crash when using Gwenview KPart in kwebdesktop (Bug 130379).
2006.09.16 - v1.4.0
- Fixes:
--- trunk/extragear/graphics/gwenview/gvimagepart/gvimagepart.cpp #601071:601072
@@ -23,6 +23,7 @@
#include <qpoint.h>
#include <kaction.h>
+#include <kapplication.h>
#include <kconfig.h>
#include <kdebug.h>
#include <kdirlister.h>
@@ -80,7 +81,7 @@
mDirLister = new KDirLister;
mDirLister->setAutoErrorHandlingEnabled( false, 0 );
- mDirLister->setMainWindow( parentWidget->topLevelWidget());
+ mDirLister->setMainWindow(KApplication::kApplication()->mainWidget());
connect( mDirLister, SIGNAL( clear()), SLOT( dirListerClear()));
connect( mDirLister, SIGNAL( newItems( const KFileItemList& )),
SLOT( dirListerNewItems( const KFileItemList& )));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic