diff options
Diffstat (limited to 'kdialog/kdialog.cpp')
-rw-r--r-- | kdialog/kdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdialog/kdialog.cpp b/kdialog/kdialog.cpp index 9f7b70ebd..e15564eb4 100644 --- a/kdialog/kdialog.cpp +++ b/kdialog/kdialog.cpp @@ -311,9 +311,9 @@ static int directCommand(TDECmdLineArgs *args) int w, h; int m = XParseGeometry( kapp->geometryArgument().latin1(), &x, &y, (unsigned int*)&w, (unsigned int*)&h); if ( (m & XNegative) ) - x = KApplication::desktop()->width() + x - w; + x = TDEApplication::desktop()->width() + x - w; if ( (m & YNegative) ) - y = KApplication::desktop()->height() + y - h; + y = TDEApplication::desktop()->height() + y - h; popup->setAnchor( TQPoint(x, y) ); } #endif @@ -691,7 +691,7 @@ int main(int argc, char *argv[]) TDECmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. - KApplication app; + TDEApplication app; TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); |