mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-24 00:31:32 -04:00
Fixed some compiler warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a6e315db54
commit
27d72c6fba
17 changed files with 32 additions and 25 deletions
|
@ -12,9 +12,6 @@ std::list<std::string> FriendSelectionDialog::selectFriends(QWidget *parent,cons
|
|||
{
|
||||
FriendSelectionDialog dialog(parent,header_text,modus,show_type,pre_selected_id_type,pre_selected_ids) ;
|
||||
|
||||
dialog.friends_widget->start() ;
|
||||
dialog.friends_widget->setSelectedIds(pre_selected_id_type,pre_selected_ids,true) ;
|
||||
|
||||
dialog.setWindowTitle(caption) ;
|
||||
|
||||
if(QDialog::Rejected == dialog.exec())
|
||||
|
@ -38,6 +35,8 @@ FriendSelectionDialog::FriendSelectionDialog(QWidget *parent,const QString& head
|
|||
friends_widget->setHeaderText(header_text);
|
||||
friends_widget->setModus(modus) ;
|
||||
friends_widget->setShowType(show_type) ;
|
||||
friends_widget->start() ;
|
||||
friends_widget->setSelectedIds(pre_selected_id_type, pre_selected_ids, false);
|
||||
|
||||
QLayout *l = new QVBoxLayout ;
|
||||
setLayout(l) ;
|
||||
|
|
|
@ -63,7 +63,7 @@ static QString purifyFileName(const QString& input,bool& bad)
|
|||
bad = false ;
|
||||
QString output = input ;
|
||||
|
||||
for(uint32_t i=0;i<output.length();++i)
|
||||
for(int i=0;i<output.length();++i)
|
||||
for(int j=0;j<bad_chars.length();++j)
|
||||
if(output[i] == bad_chars[j])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue