summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageviewcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageviewcontroller.cpp')
-rw-r--r--src/gvcore/imageviewcontroller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/imageviewcontroller.cpp b/src/gvcore/imageviewcontroller.cpp
index 008b3d4..03e81dc 100644
--- a/src/gvcore/imageviewcontroller.cpp
+++ b/src/gvcore/imageviewcontroller.cpp
@@ -153,7 +153,7 @@ struct ImageViewController::Private {
TQString library=service->library();
Q_ASSERT(!library.isNull());
LOG("Library:" << library);
- mPlayerPart = KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>(service, TQT_TQWIDGET(mStack), 0, TQT_TQOBJECT(mStack), 0);
+ mPlayerPart = KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>(service, mStack, 0, mStack, 0);
if (!mPlayerPart) {
kdWarning() << "Failed to instantiate KPart from library " << library << endl;
return;
@@ -394,7 +394,7 @@ void ImageViewController::slotAutoHide() {
}
// Only hide cursor if we are not over a dialog
- TQWidget* widget = TQT_TQWIDGET(TDEApplication::kApplication()->activeWindow());
+ TQWidget* widget = TDEApplication::kApplication()->activeWindow();
if (!widget || !widget->inherits("TQDialog")) {
TQApplication::setOverrideCursor(blankCursor);
d->mCursorHidden=true;