aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/fileset_dlg.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2017-11-29 17:25:53 -0800
committerGerald Combs <gerald@wireshark.org>2017-12-05 18:27:23 +0000
commitabcb7ec8750a263d0307bc41d86b798e5ae02966 (patch)
tree6d37d9e65a4e93ae9f775b664d429b1fde064796 /ui/gtk/fileset_dlg.c
parent5eb07b35d430b68c6d816476190035e0774f18d2 (diff)
Convert the file set dialog treewidget to a treeview+model.
Add a FilesetEntryModel and use it in FileSetDialog. This should be faster than using a QTreeWidget. Move dialog updates and date calculations out of the "add file" loop. Bug: 11280 Bug: 14242 Change-Id: I702cef4fe91e739695fe805dc5e496bf3db411f1 Reviewed-on: https://code.wireshark.org/review/24708 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/gtk/fileset_dlg.c')
-rw-r--r--ui/gtk/fileset_dlg.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/ui/gtk/fileset_dlg.c b/ui/gtk/fileset_dlg.c
index 540da82fdd..aa2945edfc 100644
--- a/ui/gtk/fileset_dlg.c
+++ b/ui/gtk/fileset_dlg.c
@@ -5,19 +5,7 @@
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: GPL-2.0+
*/
#include "config.h"
@@ -249,6 +237,8 @@ fileset_dlg_add_file(fileset_entry *entry, void *window _U_) {
g_free(size);
}
+void fileset_dlg_begin_add_file(void *window _U_) { } // Qt only
+void fileset_dlg_end_add_file(void *window _U_) { } // Qt only
/* init the fileset table */
static void