summaryrefslogtreecommitdiffstats
path: root/src/library/dlgtrackmetadataexport.cpp
blob: 15dd2997db0fc69d09d340e53f764ca16712d476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "library/dlgtrackmetadataexport.h"

#include <QMessageBox>

#include "moc_dlgtrackmetadataexport.cpp"

namespace mixxx {

//static
bool DlgTrackMetadataExport::s_bShownDuringThisSession = false;

void DlgTrackMetadataExport::showMessageBoxOncePerSession() {
    if (!s_bShownDuringThisSession) {
        QMessageBox::information(
                nullptr,
                tr("Export Modified Track Metadata"),
                tr("Mixxx may wait to modify files until they are not loaded to any decks or samplers. "
                        "If you do not see changed metadata in other programs immediately, "
                        "eject the track from all decks and samplers or shutdown Mixxx."));
        s_bShownDuringThisSession = true;
    }
}

} // namespace mixxx