refactored irc
This commit is contained in:
@@ -87,7 +87,8 @@ void Image::loadImage()
|
||||
|
||||
singletons::EmoteManager::getInstance().incGeneration();
|
||||
|
||||
postToThread([] { singletons::WindowManager::getInstance().layoutVisibleChatWidgets(); });
|
||||
util::postToThread(
|
||||
[] { singletons::WindowManager::getInstance().layoutVisibleChatWidgets(); });
|
||||
});
|
||||
|
||||
singletons::EmoteManager::getInstance().getGifUpdateSignal().connect([=]() {
|
||||
|
||||
@@ -20,8 +20,7 @@ class Image;
|
||||
|
||||
namespace layouts {
|
||||
|
||||
struct MessageLayoutElement : boost::noncopyable
|
||||
{
|
||||
struct MessageLayoutElement : boost::noncopyable {
|
||||
public:
|
||||
MessageLayoutElement(MessageElement &creator, const QSize &size);
|
||||
|
||||
@@ -47,7 +46,6 @@ protected:
|
||||
private:
|
||||
QRect rect;
|
||||
Link link;
|
||||
// bool isInNewLine;
|
||||
MessageElement &creator;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user