weekly "fixed building on linux"

This commit is contained in:
fourtf
2018-05-16 17:47:58 +02:00
parent 7b192897da
commit 8ee0f85a2b
3 changed files with 9 additions and 5 deletions
+4
View File
@@ -45,6 +45,10 @@ exists ($(QTDIR)/include/QtWebEngine/QtWebEngine) {
DEFINES += "USEWEBENGINE" DEFINES += "USEWEBENGINE"
} }
linux {
LIBS += -lrt
}
win32 { win32 {
LIBS += -luser32 LIBS += -luser32
} }
+4 -4
View File
@@ -121,11 +121,11 @@ AccountPopupWidget::AccountPopupWidget(ChannelPtr _channel)
switch (result) { switch (result) {
case IgnoreResult_Success: { case IgnoreResult_Success: {
this->relationship.setIgnoring(true); this->relationship.setIgnoring(true);
emit refreshButtons(); emit this->refreshButtons();
} break; } break;
case IgnoreResult_AlreadyIgnored: { case IgnoreResult_AlreadyIgnored: {
this->relationship.setIgnoring(true); this->relationship.setIgnoring(true);
emit refreshButtons(); emit this->refreshButtons();
} break; } break;
case IgnoreResult_Failed: { case IgnoreResult_Failed: {
} break; } break;
@@ -137,7 +137,7 @@ AccountPopupWidget::AccountPopupWidget(ChannelPtr _channel)
switch (result) { switch (result) {
case UnignoreResult_Success: { case UnignoreResult_Success: {
this->relationship.setIgnoring(false); this->relationship.setIgnoring(false);
emit refreshButtons(); emit this->refreshButtons();
} break; } break;
case UnignoreResult_Failed: { case UnignoreResult_Failed: {
} break; } break;
@@ -230,7 +230,7 @@ void AccountPopupWidget::getUserData()
currentUser->checkFollow(this->popupWidgetUser.userID, [=](auto result) { currentUser->checkFollow(this->popupWidgetUser.userID, [=](auto result) {
this->relationship.setFollowing(result == FollowResult_Following); this->relationship.setFollowing(result == FollowResult_Following);
emit refreshButtons(); emit this->refreshButtons();
}); });
bool isIgnoring = false; bool isIgnoring = false;
+1 -1
View File
@@ -33,9 +33,9 @@ class SplitContainer : public BaseWidget, pajlada::Signals::SignalHolder
{ {
Q_OBJECT Q_OBJECT
public:
struct Node; struct Node;
public:
// fourtf: !!! preserve the order of left, up, right and down // fourtf: !!! preserve the order of left, up, right and down
enum Direction { Left, Above, Right, Below }; enum Direction { Left, Above, Right, Below };