Changeset 5969

Show
Ignore:
Timestamp:
12/30/07 01:08:21 (11 months ago)
Author:
flynd
Message:

Removed history progress bar as updating it took more time than actually fetching, searching and rendering the history.

Location:
branches/qt-gui_qt4/src/dialogs
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/qt-gui_qt4/src/dialogs/userinfodlg.cpp

    r5960 r5969  
    3838#include <QMovie> 
    3939#include <QPixmap> 
    40 #include <QProgressBar> 
    4140#include <QPushButton> 
    4241#include <QShortcut> 
     
    17271726  l->addWidget(lblFilter); 
    17281727  l->addWidget(lneFilter, 1); 
    1729   l->addSpacing(50); 
    17301728  connect(lneFilter, SIGNAL(textChanged(const QString&)), SLOT(slot_showHistoryTimer())); 
    1731   barFiltering = new QProgressBar(); 
    1732   l->addWidget(barFiltering, 1); 
    17331729 
    17341730  lay->addLayout(l); 
     
    20082004      gUserManager.DropUser(u); 
    20092005  } 
    2010   barFiltering->setRange(0, Config::Chat::instance()->histMsgNum()); 
    20112006  char* ftxt = qstrdup(codec->fromUnicode(lneFilter->text())); 
    20122007  int flen = strlen(ftxt); 
     
    20462041                  MLView::toRichText(messageText, true, bUseHTML)); 
    20472042      m_nHistoryShowing++; 
    2048       barFiltering->setValue(m_nHistoryShowing); 
    20492043    } 
    20502044 
     
    20812075  else 
    20822076    mlvHistory->GotoHome(); 
    2083   barFiltering->reset(); 
    20842077} 
    20852078 
  • branches/qt-gui_qt4/src/dialogs/userinfodlg.h

    r5865 r5969  
    3232class QLineEdit; 
    3333class QPushButton; 
    34 class QProgressBar; 
    3534class QSpinBox; 
    3635class QTreeWidget; 
     
    207206  QLabel* lblFilter; 
    208207  QLineEdit* lneFilter; 
    209   QProgressBar* barFiltering; 
    210208  QCheckBox* chkHistoryReverse; 
    211209  HistoryList m_lHistoryList;