debian: Refresh patches
[metze/wireshark/wip.git] / debian / patches / 16_licence_about_location.patch
1 Description: Change location of license file in about dialog
2 Forwarded: not-needed
3 Author: Frederic Peters <fpeters@debian.org>
4
5 --- a/ui/gtk/about_dlg.c
6 +++ b/ui/gtk/about_dlg.c
7 @@ -522,7 +522,7 @@
8  #if defined(_WIN32)
9    absolute_path = get_datafile_path("COPYING.txt");
10  #else
11 -  absolute_path = get_datafile_path("COPYING");
12 +  absolute_path = get_datafile_path("ABOUT.GPL");
13  #endif
14    page = text_page_new(absolute_path);
15  
16 --- a/ui/qt/about_dialog.cpp
17 +++ b/ui/qt/about_dialog.cpp
18 @@ -335,7 +335,7 @@
19  #if defined(_WIN32)
20      f_license.setFileName(get_datafile_path("COPYING.txt"));
21  #else
22 -    f_license.setFileName(get_datafile_path("COPYING"));
23 +    f_license.setFileName(get_datafile_path("ABOUT.GPL"));
24  #endif
25  
26      f_license.open(QFile::ReadOnly | QFile::Text);