diff options
Diffstat (limited to 'src/ktechlab.cpp')
-rw-r--r-- | src/ktechlab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ktechlab.cpp b/src/ktechlab.cpp index 1e10245..c3ec9f7 100644 --- a/src/ktechlab.cpp +++ b/src/ktechlab.cpp @@ -645,7 +645,7 @@ void KTechlab::saveProperties( KConfig *conf ) saveSession( conf, "KateMDI" ); // Piss off KMainWindow conf->setGroup("KateMDI"); - int scnum = TQApplication::desktop()->screenNumber(tqparentWidget()); + int scnum = TQApplication::desktop()->screenNumber(parentWidget()); TQRect desk = TQApplication::desktop()->screenGeometry(scnum); conf->deleteEntry( TQString::tqfromLatin1("Width %1").tqarg(desk.width()) ); conf->deleteEntry( TQString::tqfromLatin1("Height %1").tqarg(desk.height()) ); |