Remove whitespace

This commit is contained in:
Myned
2020-05-21 00:54:49 -04:00
parent e61905d02f
commit a7a8adb91b
4 changed files with 6 additions and 15 deletions

View File

@@ -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();

View File

@@ -230,7 +230,7 @@ struct MediaSwitch {
typedef enum { NO_SWITCH = 0, SWITCH = 1, RANDOM_SWITCH = 2 } NoMatch;
/********************************************************************************
* SwitcherData
* SwitcherData
********************************************************************************/
struct SwitcherData {
thread th;

View File

@@ -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;

View File

@@ -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)