logic: more wstring usages
* removed header paths from VS Project setup message since VS doesn't send these anymore * implemented using wstring in IDE communication * fixed retrieving filepaths from QtDirectoryListbox that contain special characters * use wstring for source extensions * added special character as file extension to FileManagerTestSuite
This commit is contained in:
@@ -189,13 +189,12 @@ void QtMainView::handleMessage(MessageProjectEdit* message)
|
||||
|
||||
void QtMainView::handleMessage(MessageProjectNew* message)
|
||||
{
|
||||
std::string cdbPath = message->cdbPath;
|
||||
std::vector<std::string> headerPaths = message->headerPaths;
|
||||
FilePath cdbPath = message->cdbPath;
|
||||
|
||||
m_onQtThread(
|
||||
[=]()
|
||||
{
|
||||
m_window->newProjectFromCDB(cdbPath, headerPaths);
|
||||
m_window->newProjectFromCDB(cdbPath);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ void QtStatusBarView::setErrorCount(ErrorCountInfo errorCount)
|
||||
);
|
||||
}
|
||||
|
||||
void QtStatusBarView::showIdeStatus(const std::string& message)
|
||||
void QtStatusBarView::showIdeStatus(const std::wstring& message)
|
||||
{
|
||||
m_onQtThread(
|
||||
[=]()
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
virtual void showMessage(const std::wstring& message, bool isError, bool showLoader);
|
||||
virtual void setErrorCount(ErrorCountInfo errorCount);
|
||||
|
||||
virtual void showIdeStatus(const std::string& message);
|
||||
virtual void showIdeStatus(const std::wstring& message);
|
||||
|
||||
private:
|
||||
QtThreadedLambdaFunctor m_onQtThread;
|
||||
|
||||
Reference in New Issue
Block a user