Reword file drag drop error to debug message (#7269)

* Reword error message

* Fix indentation

* Fix code style

* Update ChangeLog
This commit is contained in:
Nick Bolton
2023-07-27 02:36:44 -07:00
committed by GitHub
parent 71539170ff
commit 2fce545c17
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ Enhancements:
- #7262 Backward compatibility for M1 and M2 builds
- #7254 Ability to bind client to a network interface
- #7263 Change name of Flatpak uploaded to snapshots
- #7269 Reword file drag drop error to debug message
1.14.6
======

View File

@ -161,10 +161,10 @@ MSWindowsScreen::MSWindowsScreen(
char desktopPath[MAX_PATH];
if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_DESKTOP, NULL, 0, desktopPath))) {
m_desktopPath = String(desktopPath);
LOG((CLOG_DEBUG "using desktop for drop target: %s", m_desktopPath.c_str()));
LOG((CLOG_DEBUG "using desktop for file drag-drop target: %s", m_desktopPath.c_str()));
}
else {
LOG((CLOG_ERR "failed to get desktop path, no drop target available, error=%d", GetLastError()));
LOG((CLOG_DEBUG "unable to use desktop as file drag-drop target, code=%d", GetLastError()));
}
if (App::instance().argsBase().m_preventSleep) {