diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-06-02 16:54:00 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-06-03 15:07:16 +0000 |
commit | 9389d789a4061917529ff0b4c8795353c4b4f9a7 (patch) | |
tree | c439912c30744b7409f9bd973d8044157d27b5ba /ui | |
parent | 0a0a4c75a325716a3e8f8e21fdf112095a298827 (diff) |
Qt: Export Object
* Fix indent (remove tabs)
* Add title to the window
Change-Id: I454046e47fa17969c710fa8dec4fac8cb7dbf22f
Reviewed-on: https://code.wireshark.org/review/1917
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/export_object_dialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/qt/export_object_dialog.cpp b/ui/qt/export_object_dialog.cpp index 60d94683a3..ef3363b79b 100644 --- a/ui/qt/export_object_dialog.cpp +++ b/ui/qt/export_object_dialog.cpp @@ -105,6 +105,8 @@ ExportObjectDialog::ExportObjectDialog(QWidget *parent, capture_file *cf, Object save_all_bt_ = eo_ui_->buttonBox->button(QDialogButtonBox::SaveAll); close_bt = eo_ui_->buttonBox->button(QDialogButtonBox::Close); + this->setWindowTitle(QString(tr("Wireshark: %1 object list")).arg(name_)); + if (save_bt_) save_bt_->setEnabled(false); if (save_all_bt_) save_all_bt_->setEnabled(false); if (close_bt) close_bt->setDefault(true); @@ -263,7 +265,7 @@ void ExportObjectDialog::saveCurrentEntry() } } -#define MAXFILELEN 255 +#define MAXFILELEN 255 void ExportObjectDialog::saveAllEntries() { int i; |