summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/VPNConfigPreference.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/blinkt/openvpn/VPNConfigPreference.java')
-rw-r--r--src/de/blinkt/openvpn/VPNConfigPreference.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/de/blinkt/openvpn/VPNConfigPreference.java b/src/de/blinkt/openvpn/VPNConfigPreference.java
index aebc8bc0..d1a3346e 100644
--- a/src/de/blinkt/openvpn/VPNConfigPreference.java
+++ b/src/de/blinkt/openvpn/VPNConfigPreference.java
@@ -1,6 +1,5 @@
package de.blinkt.openvpn;
-import android.os.Bundle;
import android.preference.Preference;
import android.view.View;
import android.view.View.OnClickListener;
@@ -25,7 +24,7 @@ public class VPNConfigPreference extends Preference implements OnClickListener {
private ImageView mQuickPrefButton;
- public VPNConfigPreference(VPNProfileList vpnProfileList, Bundle args) {
+ public VPNConfigPreference(VPNProfileList vpnProfileList) {
super(vpnProfileList.getActivity());
setLayoutResource(R.layout.vpn_preference_layout);
@@ -43,8 +42,6 @@ public class VPNConfigPreference extends Preference implements OnClickListener {
mQuickPrefButton = (ImageView) view.findViewById(R.id.quickedit_settings);
mQuickPrefButton.setOnClickListener(this);
- // Quick Fix, until I know what really goes wrong here :(
- //view.findViewById(android.R.id.widget_frame).setOnClickListener(this);
}
@@ -70,6 +67,6 @@ public class VPNConfigPreference extends Preference implements OnClickListener {
public void onClick(View v) {
mOnQuickSettingsListener.onQuickSettingsClick(this);
}
-
+
}