@@ -37,7 +37,6 @@ PresetDlg::PresetDlg(MainWindow* mainwin,QWidget *parent) :
3737 connect (ui->download ,SIGNAL (clicked ()),SLOT (download ()));
3838 connect (ui->presetName ,SIGNAL (textChanged (QString)),this ,SLOT (nameChanged (QString)));
3939 connect (ui->files , SIGNAL (customContextMenuRequested (QPoint)), this , SLOT (showContextMenu (QPoint)));
40- connect (ui->camelcase , SIGNAL (clicked ()),this , SLOT (reloadRepo ()));
4140 connect (ui->files , SIGNAL (currentItemChanged (QListWidgetItem*, QListWidgetItem*)), this , SLOT (repoIndexChanged ()));
4241 connect (manager,SIGNAL (finished (QNetworkReply*)),this ,SLOT (indexDownloaded (QNetworkReply*)));
4342
@@ -136,8 +135,7 @@ QString PresetDlg::optimizeName(const QString& s){
136135 QString author = query[0 ];
137136 if (author==" 000" )author = " noahbliss" ;
138137 QString description = query[1 ].replace (" _" ," " );
139- if (ui->camelcase ->checkState ()==Qt::CheckState::Checked)return toCamelCase (description) + " by " + author;
140- else return description + " by " + author;
138+ return description + " by " + author;
141139}
142140void PresetDlg::visitGithub (){
143141 QDesktopServices::openUrl (QUrl (" https://github.com/noahbliss/Viper4Linux-Configs" ));
0 commit comments