refactored irc

This commit is contained in:
fourtf
2018-02-05 15:11:50 +01:00
parent 12b30eb2ed
commit b351c40d29
56 changed files with 1397 additions and 1154 deletions
+2 -1
View File
@@ -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;
};