summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-03-22 11:53:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-03-22 11:53:45 +0300
commitbb83de6d5db22e01464f5b3566eb0728721e1a64 (patch)
treed38e2a7651949feb85d5b946f828564530bc659e /src/mir_app
parent54d7d1743808cb143a65932fc9e32c5e2e89fa19 (diff)
unused fields removed
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/profilemanager.cpp5
-rw-r--r--src/mir_app/src/profilemanager.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/mir_app/src/profilemanager.cpp b/src/mir_app/src/profilemanager.cpp
index 47759dee29..69cc0eff06 100644
--- a/src/mir_app/src/profilemanager.cpp
+++ b/src/mir_app/src/profilemanager.cpp
@@ -269,13 +269,10 @@ public:
// profile placed in "profile_name" subfolder
m_pd->m_profile.Format(L"%s\\%s\\%s.dat", g_profileDir, szName.get(), szName.get());
- m_pd->newProfile = 1;
m_pd->dblink = (DATABASELINK *)m_driverList.GetItemData(curSel);
if (CreateProfile(m_pd->m_profile, m_pd->dblink) == 0)
SetWindowLongPtr(m_hwnd, DWLP_MSGRESULT, PSNRET_INVALID_NOCHANGEPAGE);
- else
- m_pd->bRun = true;
return true;
}
};
@@ -351,12 +348,10 @@ class CChooseProfileDlg : public CDlgBase
case 2:
m_btnOk.SetText(TranslateT("&Convert"));
- m_pd->bRun = false;
break;
default:
m_btnOk.SetText(TranslateT("&Run"));
- m_pd->bRun = true;
}
// profile is placed in "profile_name" subfolder
diff --git a/src/mir_app/src/profilemanager.h b/src/mir_app/src/profilemanager.h
index 953a026e02..39685e82bc 100644
--- a/src/mir_app/src/profilemanager.h
+++ b/src/mir_app/src/profilemanager.h
@@ -33,8 +33,6 @@ struct PROFILEMANAGERDATA
MFilePath &m_profile; // in/out
bool noProfiles = false; // in
- bool bRun = false; // out
- bool newProfile = false; // out
DATABASELINK *dblink = 0; // out
};