diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-22 11:57:05 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-22 11:57:05 +0900 |
| commit | b200dc191e36b3af25c88fe541842c86bd8afc09 (patch) | |
| tree | a5e05e9b3b8b874b399697f9c2050135f0686be5 /kghostview/kgvshell.cpp | |
| parent | baed4696defeb4a65e25fa8a9ed194741613df2d (diff) | |
| download | tdegraphics-b200dc191e36b3af25c88fe541842c86bd8afc09.tar.gz tdegraphics-b200dc191e36b3af25c88fe541842c86bd8afc09.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kghostview/kgvshell.cpp')
| -rw-r--r-- | kghostview/kgvshell.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kghostview/kgvshell.cpp b/kghostview/kgvshell.cpp index 9fa5200f..166edc39 100644 --- a/kghostview/kgvshell.cpp +++ b/kghostview/kgvshell.cpp @@ -85,16 +85,10 @@ KGVShell::KGVShell() : _showMenuBarAction = KStdAction::showMenubar( this, TQ_SLOT( slotShowMenubar() ), actionCollection() ); /*---- Settings -------------------------------------------------------*/ -#if TDE_VERSION >= TDE_MAKE_VERSION(3,1,90) createStandardStatusBarAction(); -#endif setAutoSaveSettings(); setStandardToolBarMenuEnabled(true); -#if TDE_VERSION >= TDE_MAKE_VERSION(3,1,90) m_fullScreenAction = KStdAction::fullScreen( this, TQ_SLOT( slotUpdateFullScreen() ), actionCollection(), this ); -#else - m_fullScreenAction = new TDEToggleAction( this, TQ_SLOT( slotUpdateFullScreen() ) ); -#endif KStdAction::configureToolbars( this, TQ_SLOT( slotConfigureToolbars() ), actionCollection() ); KStdAction::keyBindings(guiFactory(), TQ_SLOT(configureShortcuts()), actionCollection()); @@ -338,11 +332,9 @@ void KGVShell::slotUpdateFullScreen() tdeApp->removeEventFilter( m_fsFilter ); m_gvpart->updateFullScreen( false ); menuBar()->show(); -#if TDE_VERSION >= TDE_MAKE_VERSION(3,1,90) TDEToggleAction *statusbarAction = dynamic_cast<TDEToggleAction *>(actionCollection()->action(KStdAction::name(KStdAction::ShowStatusbar))); assert( statusbarAction ); if (statusbarAction->isChecked()) statusBar()->show(); -#endif toolBar()->show(); showNormal(); } |
