Commit b98dfc3b authored by Christoph Cullmann's avatar Christoph Cullmann

use non-deprecated variant of setNewStartupId

parent a483a872
...@@ -162,7 +162,7 @@ bool KateApp::startupKate() ...@@ -162,7 +162,7 @@ bool KateApp::startupKate()
} }
// notify about start // notify about start
KStartupInfo::setNewStartupId(activeKateMainWindow(), KStartupInfo::startupId()); KStartupInfo::setNewStartupId(activeKateMainWindow()->windowHandle(), KStartupInfo::startupId());
QTextCodec *codec = m_args.isSet(QStringLiteral("encoding")) ? QTextCodec::codecForName(m_args.value(QStringLiteral("encoding")).toUtf8()) : nullptr; QTextCodec *codec = m_args.isSet(QStringLiteral("encoding")) ? QTextCodec::codecForName(m_args.value(QStringLiteral("encoding")).toUtf8()) : nullptr;
bool tempfileSet = m_args.isSet(QStringLiteral("tempfile")); bool tempfileSet = m_args.isSet(QStringLiteral("tempfile"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment