summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-05-06 23:00:41 (UTC)
committer mickeyl <mickeyl>2003-05-06 23:00:41 (UTC)
commit9490e91d3876a8280f3f9a3839fddf95b957b879 (patch) (side-by-side diff)
treeec1fdb2a2713d26785110918ce9a8d2fb47fcb20
parent1a194aafffe37127758036e80ff55ead0c0e118d (diff)
downloadopie-9490e91d3876a8280f3f9a3839fddf95b957b879.zip
opie-9490e91d3876a8280f3f9a3839fddf95b957b879.tar.gz
opie-9490e91d3876a8280f3f9a3839fddf95b957b879.tar.bz2
fix config dialog in respect to specify writing capture files
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/configbase.ui16
-rw-r--r--noncore/net/wellenreiter/gui/mainwindow.cpp2
2 files changed, 17 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/configbase.ui b/noncore/net/wellenreiter/gui/configbase.ui
index d85956e..7504ebc 100644
--- a/noncore/net/wellenreiter/gui/configbase.ui
+++ b/noncore/net/wellenreiter/gui/configbase.ui
@@ -498,4 +498,8 @@
<bool>false</bool>
</property>
+ <property stdset="1">
+ <name>text</name>
+ <string>/tmp/capture</string>
+ </property>
</widget>
<widget row="0" column="2" >
@@ -850,4 +854,16 @@
<slot>setEnabled(bool)</slot>
</connection>
+ <connection>
+ <sender>writeCaptureFile</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>getCaptureFileName</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>writeCaptureFile</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>captureFileName</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
</connections>
</UI>
diff --git a/noncore/net/wellenreiter/gui/mainwindow.cpp b/noncore/net/wellenreiter/gui/mainwindow.cpp
index 39f5978..7241f7a 100644
--- a/noncore/net/wellenreiter/gui/mainwindow.cpp
+++ b/noncore/net/wellenreiter/gui/mainwindow.cpp
@@ -242,5 +242,5 @@ QString WellenreiterMainWindow::getFileName( bool save )
str = QFileDialog::getSaveFileName();
#endif
- if ( str.isEmpty() || QFileInfo(str).isDir() )
+ if ( str.isEmpty() /*|| QFileInfo(str).isDir()*/ )
return "";
}