diff options
Diffstat (limited to 'src/global.cpp')
-rw-r--r-- | src/global.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/global.cpp b/src/global.cpp index edc1787..4ebd8fb 100644 --- a/src/global.cpp +++ b/src/global.cpp @@ -81,13 +81,13 @@ TQString Global::openNoteIcon() // FIXME: Now an edit icon return Global::bnpView->m_actEditNote->icon(); } -KMainWindow* Global::mainWindow() +TDEMainWindow* Global::mainWindow() { TQWidget* res = kapp->mainWidget(); - if(res && res->inherits("KMainWindow")) + if(res && res->inherits("TDEMainWindow")) { - return static_cast<KMainWindow*>(res); + return static_cast<TDEMainWindow*>(res); } return 0; } |