code: use config macro
Macro is much easier to use and more readable
This commit is contained in:
@@ -473,7 +473,7 @@ void MainWindow::TimelinePanelSelectionChanged(const QVector<Block *> &blocks)
|
||||
|
||||
void MainWindow::ShowWelcomeDialog()
|
||||
{
|
||||
if (Config::Current()[QStringLiteral("ShowWelcomeDialog")].toBool()) {
|
||||
if (OLIVE_CONFIG("ShowWelcomeDialog").toBool()) {
|
||||
AboutDialog ad(true, this);
|
||||
ad.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user