mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Make HistoryView::Message a ClickHandlerHost.
This commit is contained in:
@@ -135,10 +135,7 @@ PreparedFile &PreparedFile::operator=(PreparedFile &&other) = default;
|
||||
PreparedFile::~PreparedFile() = default;
|
||||
|
||||
MimeDataState ComputeMimeDataState(const QMimeData *data) {
|
||||
if (!data
|
||||
|| data->hasFormat(qsl("application/x-td-forward-selected"))
|
||||
|| data->hasFormat(qsl("application/x-td-forward-pressed"))
|
||||
|| data->hasFormat(qsl("application/x-td-forward-pressed-link"))) {
|
||||
if (!data || data->hasFormat(qsl("application/x-td-forward"))) {
|
||||
return MimeDataState::None;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user