Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove the "port" selection option from the EasyPBI new module dialog…

…. Apparently I missed this when removing the rest of the port options in the conversion to PBING.
  • Loading branch information...
commit 92e14ae66e147ff5f3f4b2fda4b95460907126db 1 parent ccc0b58
@beanpole135 beanpole135 authored
View
8 src-qt4/EasyPBI/newModuleDialog.cpp
@@ -16,9 +16,9 @@ NewModuleDialog::NewModuleDialog(QWidget *parent, QString portsdir) :
portsDir=portsdir;
if(!portsDir.isEmpty() && !portsDir.endsWith("/")){ portsDir.append("/"); }
//Setup the dialog icons
- ui->push_port->setIcon(Backend::icon("load"));
+ //ui->push_port->setIcon(Backend::icon("load"));
ui->push_icon->setIcon(Backend::icon("file"));
- if(portsDir.isEmpty()){ ui->push_port->setEnabled(false); }
+ //if(portsDir.isEmpty()){ ui->push_port->setEnabled(false); }
}
NewModuleDialog::~NewModuleDialog(){
@@ -44,13 +44,13 @@ void NewModuleDialog::on_buttonBox_rejected(){
this->close();
}
-void NewModuleDialog::on_push_port_clicked(){
+/*void NewModuleDialog::on_push_port_clicked(){
QString portSel = QFileDialog::getExistingDirectory(this, tr("Select Port"), portsDir);
if(!portSel.isEmpty()){
ui->line_port->setText(portSel.remove(portsDir));
isPort=true;
}
-}
+}*/
void NewModuleDialog::on_push_package_clicked(){
pkgSelect dlg(this);
View
2  src-qt4/EasyPBI/newModuleDialog.h
@@ -33,7 +33,7 @@ class NewModuleDialog : public QDialog
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
- void on_push_port_clicked();
+ //void on_push_port_clicked();
void on_push_package_clicked();
void on_push_icon_clicked();
View
16 src-qt4/EasyPBI/newModuleDialog.ui
@@ -20,7 +20,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_port">
<property name="text">
- <string>FreeBSD Port</string>
+ <string>FreeBSD Package</string>
</property>
</widget>
</item>
@@ -34,19 +34,9 @@
</widget>
</item>
<item>
- <widget class="QToolButton" name="push_port">
- <property name="text">
- <string>Port</string>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextBesideIcon</enum>
- </property>
- </widget>
- </item>
- <item>
<widget class="QToolButton" name="push_package">
<property name="text">
- <string>Pkg</string>
+ <string>Find</string>
</property>
<property name="icon">
<iconset resource="EasyPBI.qrc">
@@ -116,7 +106,7 @@
<item row="3" column="1">
<widget class="QCheckBox" name="check_quick">
<property name="text">
- <string>Quick Module (Skip auto-setting module values)</string>
+ <string>Quick Module (Skip value auto-generation)</string>
</property>
</widget>
</item>
Please sign in to comment.
Something went wrong with that request. Please try again.