summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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
};