mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Remove twidget header.
This commit is contained in:
@@ -812,7 +812,7 @@ void AppendEmojiPacks(std::vector<PickerScrubberItem> &to) {
|
||||
if (const auto inputField = qobject_cast<QTextEdit*>(
|
||||
QApplication::focusWidget())) {
|
||||
Ui::InsertEmojiAtCursor(inputField->textCursor(), emoji);
|
||||
Ui::Emoji::AddRecent(emoji);
|
||||
AddRecentEmoji(emoji);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -1065,7 +1065,7 @@ void AppendEmojiPacks(std::vector<PickerScrubberItem> &to) {
|
||||
}, _lifetime);
|
||||
|
||||
rpl::merge(
|
||||
Ui::Emoji::UpdatedRecent(),
|
||||
UpdatedRecentEmoji(),
|
||||
Ui::Emoji::Updated()
|
||||
) | rpl::start_with_next([=] {
|
||||
[self updatePickerPopover:ScrubberItemType::Emoji];
|
||||
|
@@ -9,6 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
#include "window/window_title.h"
|
||||
#include "window/themes/window_theme_preview.h"
|
||||
#include "base/object_ptr.h"
|
||||
|
||||
namespace Platform {
|
||||
|
||||
|
@@ -572,7 +572,7 @@ void psSendToMenu(bool send, bool silent) {
|
||||
_manageAppLnk(send, silent, CSIDL_SENDTO, L"-sendpath", L"Telegram send to link.\nYou can disable send to menu item in Telegram settings.");
|
||||
}
|
||||
|
||||
void psUpdateOverlayed(TWidget *widget) {
|
||||
void psUpdateOverlayed(QWidget *widget) {
|
||||
bool wm = widget->testAttribute(Qt::WA_Mapped), wv = widget->testAttribute(Qt::WA_WState_Visible);
|
||||
if (!wm) widget->setAttribute(Qt::WA_Mapped, true);
|
||||
if (!wv) widget->setAttribute(Qt::WA_WState_Visible, true);
|
||||
|
@@ -82,7 +82,7 @@ int psFixPrevious();
|
||||
|
||||
void psNewVersion();
|
||||
|
||||
void psUpdateOverlayed(TWidget *widget);
|
||||
void psUpdateOverlayed(QWidget *widget);
|
||||
inline QByteArray psDownloadPathBookmark(const QString &path) {
|
||||
return QByteArray();
|
||||
}
|
||||
|
@@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#pragma once
|
||||
|
||||
#include "platform/platform_window_title.h"
|
||||
#include "base/object_ptr.h"
|
||||
|
||||
namespace Ui {
|
||||
class IconButton;
|
||||
|
Reference in New Issue
Block a user