Skip to content

Commit

Permalink
Sets up proper import for linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
FiniteSingularity committed Aug 7, 2024
1 parent 5fab0d1 commit f758212
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/quick-access.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#if !defined(_WIN32) && !define(__APPLE__)
#include <smmintrin.h>
#endif

#include "quick-access.hpp"
#include "quick-access-dock.hpp"
#include "quick-access-utility.hpp"

#include <obs-module.h>
#include <QToolBar>
#include <QToolButton>
#include <QVBoxLayout>
Expand Down Expand Up @@ -1695,7 +1698,7 @@ void QuickAccess::on_actionSourceUp_triggered()
if (_qaLists.size() == 0) {
return;
}
auto qa = _qaLists[0];
QuickAccessSourceListView qa = _qaLists[0];
auto model = qa.model;
auto index = qa.listView->currentIndex();
auto newRow = index.row() - 1;
Expand All @@ -1720,7 +1723,7 @@ void QuickAccess::on_actionSourceDown_triggered()
if (_qaLists.size() == 0) {
return;
}
auto qa = _qaLists[0];
QuickAccessSourceListView qa = _qaLists[0];
auto model = qa.model;
auto index = qa.listView->currentIndex();
auto newRow = index.row() + 1;
Expand Down

0 comments on commit f758212

Please sign in to comment.