~ubuntu-branches/debian/sid/kmess/sid

« back to all changes in this revision

Viewing changes to src/dialogs/networkwindow.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-05-26 22:58:41 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090526225841-yx7029u4euscd0f5
Tags: 2.0~beta2-1
* New upstream release 
  - Fixes "the '">' characters appears" (Closes: #530358)
* Add Build-Depends: libgif-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
  KConfigGroup group = KMessConfig::instance()->getGlobalConfig( "NetworkWindow" );
98
98
  saveDialogSize( group );
99
99
 
100
 
  foreach( ConnectionEntry *entry, connectionViews_.values() )
 
100
  // Disconnect all signals, prevent i.e. slotUpdateWidgets from being called
 
101
  disconnect( connectionTabs_,    0, this, 0 );
 
102
  disconnect( sendCommandButton_, 0, this, 0 );
 
103
  disconnect( this,               0, this, 0 );
 
104
 
 
105
  foreach( ConnectionEntry *entry, connectionViews_ )
101
106
  {
102
107
    delete entry->logView;
103
108
    delete entry;
1149
1154
    QWidget *mainConnectionWidget = connectionTabs_->widget( 0 );
1150
1155
 
1151
1156
    // Loop through all tabs
1152
 
    foreach( ConnectionEntry *entry, connectionViews_.values() )
 
1157
    foreach( ConnectionEntry *entry, connectionViews_ )
1153
1158
    {
1154
1159
      // Don't close the main connection tab
1155
1160
      if( entry->logView == mainConnectionWidget )
1266
1271
    // Warn the developer about what he or she is doing.
1267
1272
    int result = KMessageBox::warningContinueCancel( this,
1268
1273
                                                     i18n( "Sending commands to the server is a risky operation.<br />"
1269
 
                                                           "If you don't know how to exactly do it, "
 
1274
                                                           "If you do not know how to exactly do it, "
1270
1275
                                                           "you could be lucky and just get disconnected, or <i>you may "
1271
1276
                                                           "incur in more serious consequences</i>.<br />"
1272
1277
                                                           "You have been warned!<br />"