Skip to content

Commit 498b239

Browse files
author
ThePBone
committed
Remove camelcase checkbox
1 parent 262e922 commit 498b239

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

dialog/preset.ui

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -216,16 +216,6 @@
216216
<property name="bottomMargin">
217217
<number>0</number>
218218
</property>
219-
<item>
220-
<widget class="QCheckBox" name="camelcase">
221-
<property name="text">
222-
<string>CamelCase</string>
223-
</property>
224-
<property name="checked">
225-
<bool>true</bool>
226-
</property>
227-
</widget>
228-
</item>
229219
<item>
230220
<spacer name="horizontalSpacer_3">
231221
<property name="orientation">
@@ -265,7 +255,6 @@
265255
<tabstop>load</tabstop>
266256
<tabstop>githubRepo</tabstop>
267257
<tabstop>repoindex</tabstop>
268-
<tabstop>camelcase</tabstop>
269258
<tabstop>download</tabstop>
270259
</tabstops>
271260
<resources>

dialog/presetdlg.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}
142140
void PresetDlg::visitGithub(){
143141
QDesktopServices::openUrl(QUrl("https://github.com/noahbliss/Viper4Linux-Configs"));

0 commit comments

Comments
 (0)