diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-06-25 04:46:47 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-06-25 04:46:47 +0300 |
commit | 9765d4e1eb3e709e39ee0f4ee90cd871d8e48617 (patch) | |
tree | 41a573dfe6b12353a6289fe80fbb4d59f56f5913 /packages/x11-themes/qtcurve/files/qtcurve-1.8.18-remove-qt_filedialog_-api.patch | |
parent | 22da0fedef2f79140e710f5c05d9f878700b1df6 (diff) |
qtcurve
Diffstat (limited to 'packages/x11-themes/qtcurve/files/qtcurve-1.8.18-remove-qt_filedialog_-api.patch')
-rw-r--r-- | packages/x11-themes/qtcurve/files/qtcurve-1.8.18-remove-qt_filedialog_-api.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/packages/x11-themes/qtcurve/files/qtcurve-1.8.18-remove-qt_filedialog_-api.patch b/packages/x11-themes/qtcurve/files/qtcurve-1.8.18-remove-qt_filedialog_-api.patch new file mode 100644 index 0000000..22b5629 --- /dev/null +++ b/packages/x11-themes/qtcurve/files/qtcurve-1.8.18-remove-qt_filedialog_-api.patch @@ -0,0 +1,60 @@ +Upstream: yes + +From 323402d8b99502300f65e909c61153cbd5d5d997 Mon Sep 17 00:00:00 2001 +From: Marco Martin <notmart@gmail.com> +Date: Mon, 19 May 2014 10:37:37 +0200 +Subject: [PATCH] remove qt_filedialog_* api + +it has been removed and doesn't build anymore with recent Qt5 stable +branch +--- + qt5/style/qtcurve_api.cpp | 26 -------------------------- + 1 file changed, 26 deletions(-) + +diff --git a/qt5/style/qtcurve_api.cpp b/qt5/style/qtcurve_api.cpp +index a5ded22..2c794b7 100644 +--- a/qt5/style/qtcurve_api.cpp ++++ b/qt5/style/qtcurve_api.cpp +@@ -67,25 +67,6 @@ + + #include <QDebug> + +-extern QString (*qt_filedialog_existing_directory_hook)( +- QWidget *parent, const QString &caption, const QString &dir, +- QFileDialog::Options options); +- +-extern QString (*qt_filedialog_open_filename_hook)( +- QWidget *parent, const QString &caption, const QString &dir, +- const QString &filter, QString *selectedFilter, +- QFileDialog::Options options); +- +-extern QStringList (*qt_filedialog_open_filenames_hook)( +- QWidget * parent, const QString &caption, const QString &dir, +- const QString &filter, QString *selectedFilter, +- QFileDialog::Options options); +- +-extern QString (*qt_filedialog_save_filename_hook)( +- QWidget *parent, const QString &caption, const QString &dir, +- const QString &filter, QString *selectedFilter, +- QFileDialog::Options options); +- + namespace QtCurve { + + void +@@ -163,13 +144,6 @@ Style::polish(QApplication *app) + opts.menuBgndAppearance = APPEARANCE_FLAT; + } + +- if (opts.useQtFileDialogApps.contains(appName)) { +- qt_filedialog_existing_directory_hook = 0L; +- qt_filedialog_open_filename_hook = 0L; +- qt_filedialog_open_filenames_hook = 0L; +- qt_filedialog_save_filename_hook = 0L; +- } +- + QCommonStyle::polish(app); + if (opts.hideShortcutUnderline) { + app->installEventFilter(m_shortcutHandler); +-- +2.4.5 + |