Commit 81df44b1 authored by David Faure's avatar David Faure

Port from QStandardPaths::DataLocation to QStandardPaths::AppDataLocation

They are the same on Linux (but DataLocation is deprecated). On Windows this enables the use of the roaming path.

parent b8667b04
...@@ -44,7 +44,7 @@ QPointer<Kwave::Splash> Kwave::Splash::m_splash = Q_NULLPTR; ...@@ -44,7 +44,7 @@ QPointer<Kwave::Splash> Kwave::Splash::m_splash = Q_NULLPTR;
Kwave::Splash::Splash(const QString &PNGFile) Kwave::Splash::Splash(const QString &PNGFile)
:QFrame(Q_NULLPTR, Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint), :QFrame(Q_NULLPTR, Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint),
m_font(), m_font(),
m_pixmap(QStandardPaths::locate(QStandardPaths::DataLocation, PNGFile)), m_pixmap(QStandardPaths::locate(QStandardPaths::AppDataLocation, PNGFile)),
m_message(_(" ")) m_message(_(" "))
{ {
const int w = m_pixmap.width(); const int w = m_pixmap.width();
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