QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
e55ba2d24d
commit
d5c074f80d
@@ -469,7 +469,7 @@ void TextBrowser::dropEvent(QDropEvent * e)
|
||||
dataStream >> action;
|
||||
|
||||
CommandManager& rclMan = Application::Instance->commandManager();
|
||||
Command* pCmd = rclMan.getCommandByName(action.toAscii());
|
||||
Command* pCmd = rclMan.getCommandByName(action.toLatin1());
|
||||
if ( pCmd ) {
|
||||
QString info = pCmd->getAction()->whatsThis();
|
||||
if ( !info.isEmpty() ) {
|
||||
|
||||
Reference in New Issue
Block a user