OSDN Git Service

Remove an unused function (CDirView::DoUpdateFileEncodingDialog)
authorsdottaka <none@none>
Tue, 30 Jul 2013 14:06:22 +0000 (23:06 +0900)
committersdottaka <none@none>
Tue, 30 Jul 2013 14:06:22 +0000 (23:06 +0900)
Src/DirActions.cpp
Src/DirView.h

index 0a916cb..77cbd5e 100644 (file)
@@ -1633,12 +1633,6 @@ void CDirView::DoFileEncodingDialog()
        // but, if they've been edited, we cannot throw away the user's work?
 }
 
-void CDirView::DoUpdateFileEncodingDialog(CCmdUI* pCmdUI)
-{
-       bool haveSelectedItems = (m_pList->GetNextItem(-1, LVNI_SELECTED) != -1);
-       pCmdUI->Enable(haveSelectedItems);
-}
-
 /**
  * @brief Rename a file without moving it to different directory.
  *
index bada56b..d3e17ec 100644 (file)
@@ -184,7 +184,6 @@ private:
        void UpdateAfterFileScript(FileActionScript & actionList);
        UINT MarkSelectedForRescan();
        void DoFileEncodingDialog();
-       void DoUpdateFileEncodingDialog(CCmdUI* pCmdUI);
        bool DoItemRename(const String& szNewItemName);
        void DoCopyItemsToClipboard(int nIndex);
        bool RenameOnSameDir(const String& szOldFileName, const String& szNewFileName);