mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-20 00:05:41 -05:00
Remove whitespace
This commit is contained in:
@@ -16,7 +16,6 @@ int SceneSwitcher::executableFindByData(const QString& exe)
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
void SceneSwitcher::on_executables_currentRowChanged(int idx)
|
||||
{
|
||||
if (loading)
|
||||
@@ -44,7 +43,6 @@ void SceneSwitcher::on_executables_currentRowChanged(int idx)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void SceneSwitcher::on_executableAdd_clicked()
|
||||
{
|
||||
QString sceneName = ui->executableScenes->currentText();
|
||||
@@ -93,7 +91,6 @@ void SceneSwitcher::on_executableAdd_clicked()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void SceneSwitcher::on_executableRemove_clicked()
|
||||
{
|
||||
QListWidgetItem* item = ui->executables->currentItem();
|
||||
|
||||
@@ -230,7 +230,7 @@ struct MediaSwitch {
|
||||
typedef enum { NO_SWITCH = 0, SWITCH = 1, RANDOM_SWITCH = 2 } NoMatch;
|
||||
|
||||
/********************************************************************************
|
||||
* SwitcherData
|
||||
* SwitcherData
|
||||
********************************************************************************/
|
||||
struct SwitcherData {
|
||||
thread th;
|
||||
|
||||
@@ -45,7 +45,8 @@ void GetCurrentWindowTitle(string &title)
|
||||
}
|
||||
}
|
||||
|
||||
pair<int, int> getCursorPos() {
|
||||
pair<int, int> getCursorPos()
|
||||
{
|
||||
pair<int, int> pos(0, 0);
|
||||
CGEventRef event = CGEventCreate(NULL);
|
||||
CGPoint cursorPos = CGEventGetLocation(event);
|
||||
@@ -53,9 +54,10 @@ pair<int, int> getCursorPos() {
|
||||
pos.first = cursorPos.x;
|
||||
pos.second = cursorPos.y;
|
||||
return pos;
|
||||
}
|
||||
}
|
||||
|
||||
bool isFullscreen() {
|
||||
bool isFullscreen()
|
||||
{
|
||||
@autoreleasepool {
|
||||
AXValueRef temp;
|
||||
CGSize windowSize;
|
||||
|
||||
@@ -106,9 +106,6 @@ void SceneSwitcher::on_remove_clicked()
|
||||
delete item;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void SceneSwitcher::on_ignoreWindowsAdd_clicked()
|
||||
{
|
||||
QString windowName = ui->ignoreWindowsWindows->currentText();
|
||||
@@ -177,9 +174,6 @@ int SceneSwitcher::FindByData(const QString& window)
|
||||
return idx;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int SceneSwitcher::IgnoreWindowsFindByData(const QString& window)
|
||||
{
|
||||
int count = ui->ignoreWindows->count();
|
||||
@@ -200,7 +194,6 @@ int SceneSwitcher::IgnoreWindowsFindByData(const QString& window)
|
||||
return idx;
|
||||
}
|
||||
|
||||
|
||||
void SceneSwitcher::on_switches_currentRowChanged(int idx)
|
||||
{
|
||||
if (loading)
|
||||
@@ -229,7 +222,6 @@ void SceneSwitcher::on_switches_currentRowChanged(int idx)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void SceneSwitcher::on_ignoreWindows_currentRowChanged(int idx)
|
||||
{
|
||||
if (loading)
|
||||
|
||||
Reference in New Issue
Block a user