Skip to content

Commit

Permalink
delete useless configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoec committed Oct 27, 2021
1 parent ec8202d commit 15d0c9e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Binary file modified iEdge.ini
Binary file not shown.
12 changes: 0 additions & 12 deletions src/SharedConfig.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
#pragma data_seg(".SHARED")

bool DoubleClickCloseTab = false;
bool RightClickCloseTab = false;
bool HoverActivateTab = false;
int HoverTime = HOVER_DEFAULT;
bool KeepLastTab = false;
bool HoverTabSwitch = false;
bool RightTabSwitch = false;
bool BookMarkNewTab = false;
bool OpenUrlNewTab = false;
bool FrontNewTab = false;
bool MouseGesture = false;
std::string HomePage;

Expand All @@ -18,16 +12,10 @@ std::string HomePage;

void ReadConfig(const wchar_t *iniPath)
{
DoubleClickCloseTab = GetPrivateProfileInt(L"界面增强", L"双击关闭标签页", 1, iniPath) == 1;
RightClickCloseTab = GetPrivateProfileInt(L"界面增强", L"右键关闭标签页", 0, iniPath) == 1;
HoverActivateTab = GetPrivateProfileInt(L"界面增强", L"悬停激活标签页", 0, iniPath) == 1;
HoverTime = GetPrivateProfileInt(L"界面增强", L"悬停时间", HOVER_DEFAULT, iniPath);
KeepLastTab = GetPrivateProfileInt(L"界面增强", L"保留最后标签", 1, iniPath) == 1;
HoverTabSwitch = GetPrivateProfileInt(L"界面增强", L"悬停快速标签切换", 1, iniPath) == 1;
RightTabSwitch = GetPrivateProfileInt(L"界面增强", L"右键快速标签切换", 1, iniPath) == 1;
BookMarkNewTab = GetPrivateProfileInt(L"界面增强", L"新标签打开书签", 1, iniPath) == 1;
OpenUrlNewTab = GetPrivateProfileInt(L"界面增强", L"新标签打开网址", 0, iniPath) == 1;
FrontNewTab = GetPrivateProfileInt(L"界面增强", L"前台打开新标签", 1, iniPath) == 1;

MouseGesture = GetPrivateProfileInt(L"鼠标手势", L"启用", 1, iniPath) == 1;
}
Expand Down

0 comments on commit 15d0c9e

Please sign in to comment.