~ubuntu-branches/ubuntu/jaunty/kde4libs/jaunty-updates

« back to all changes in this revision

Viewing changes to kparts/mainwindow.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2008-12-11 18:26:08 UTC
  • mfrom: (1.1.24 upstream)
  • Revision ID: james.westby@ubuntu.com-20081211182608-tsu6p8ncbw1gnqxt
Tags: 4:4.1.85-0ubuntu1
* New upstream release
* Patches:
  + Removed 15_kfreebsd_support.diff from patches/series (doesn't apply and
    has no use for Ubuntu)
  + Redid 20_use_dejavu_as_default_font.diff
  + Completely removed kubuntu_09_fix_application_menu.diff (applied upstream)
  + Refreshed kubuntu_54_use_xdg_menu_prefix.diff
  + Dropped plasma/widgets/toolbutton.cpp from kubuntu_qt_ftbfs.diff (applied
    upstream)
  + Global quilt refresh

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
 
79
79
void MainWindow::createGUI( Part * part )
80
80
{
81
 
  kDebug(1000) << "MainWindow::createGUI, part=" << part << " "
 
81
#if 0
 
82
  kDebug(1000) << "part=" << part
82
83
                << ( part ? part->metaObject()->className() : "" )
83
 
                << " " << ( part ? part->objectName() : "" )
84
 
                << endl;
85
 
 
 
84
                << ( part ? part->objectName() : "" );
 
85
#endif
86
86
  KXMLGUIFactory *factory = guiFactory();
87
87
 
88
88
  assert( factory );
89
89
 
90
90
  if ( d->m_activePart )
91
91
  {
92
 
    kDebug(1000) << "deactivating GUI for " << d->m_activePart << " "
 
92
#if 0
 
93
    kDebug(1000) << "deactivating GUI for" << d->m_activePart
93
94
                  << d->m_activePart->metaObject()->className()
94
 
                  << " " << d->m_activePart->objectName() << endl;
 
95
                  << d->m_activePart->objectName();
 
96
#endif
95
97
 
96
98
    GUIActivateEvent ev( false );
97
99
    QApplication::sendEvent( d->m_activePart, &ev );