2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Build with QT_NO_KEYWORDS

This commit is contained in:
Ilya Fedin
2021-03-03 22:22:42 +04:00
committed by John Preston
parent a29ff093f6
commit 23272430b4
37 changed files with 133 additions and 133 deletions

View File

@@ -456,7 +456,7 @@ QString GtkFileDialog::selectedNameFilter() const {
}
void GtkFileDialog::onAccepted() {
emit accept();
accept();
// QString filter = selectedNameFilter();
// if (filter.isEmpty())
@@ -469,7 +469,7 @@ void GtkFileDialog::onAccepted() {
}
void GtkFileDialog::onRejected() {
emit reject();
reject();
//
}
@@ -566,7 +566,7 @@ void GtkFileDialog::applyOptions() {
void GtkFileDialog::setNameFilters(const QStringList &filters) {
GtkDialog *gtkDialog = d->gtkDialog();
foreach (GtkFileFilter *filter, _filters)
Q_FOREACH (GtkFileFilter *filter, _filters)
gtk_file_chooser_remove_filter(gtk_file_chooser_cast(gtkDialog), filter);
_filters.clear();