Moved out size of result file for userpic to public interface.

This commit is contained in:
23rd 2023-01-21 19:14:35 +03:00 committed by John Preston
parent f077c555e2
commit a7e2de53f5
3 changed files with 3 additions and 6 deletions

View file

@ -19,11 +19,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QtGui/QGuiApplication> #include <QtGui/QGuiApplication>
namespace Editor { namespace Editor {
namespace {
constexpr auto kProfilePhotoSize = 640;
} // namespace
void OpenWithPreparedFile( void OpenWithPreparedFile(
not_null<QWidget*> parent, not_null<QWidget*> parent,

View file

@ -25,6 +25,8 @@ class SessionController;
namespace Editor { namespace Editor {
constexpr auto kProfilePhotoSize = int(640);
struct EditorData; struct EditorData;
void OpenWithPreparedFile( void OpenWithPreparedFile(

View file

@ -68,5 +68,5 @@ private:
}; };
} // namespace Settings } // namespace Polls
} // namespace Info } // namespace Info