From 632ca92a116a1ce5612f8ef0d6a601fc4ce31e3c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 5 Dec 2015 17:47:44 +0000 Subject: skinned: added feature to disable anti-aliasing git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5810 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Ui/skinned/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/Ui/skinned/mainwindow.cpp') diff --git a/src/plugins/Ui/skinned/mainwindow.cpp b/src/plugins/Ui/skinned/mainwindow.cpp index a406d270b..cab91a4f9 100644 --- a/src/plugins/Ui/skinned/mainwindow.cpp +++ b/src/plugins/Ui/skinned/mainwindow.cpp @@ -325,6 +325,7 @@ void MainWindow::writeSettings() settings.setValue("double_size", ACTION(ActionManager::WM_DOUBLE_SIZE)->isChecked()); settings.setValue("always_on_top", ACTION(ActionManager::WM_ALLWAYS_ON_TOP)->isChecked()); settings.setValue("show_on_all_desktops", ACTION(ActionManager::WM_STICKY)->isChecked()); + settings.setValue("antialiasing", ACTION(ActionManager::WM_ANTIALIASING)->isChecked()); settings.endGroup(); } @@ -410,6 +411,7 @@ void MainWindow::createActions() viewMenu->addAction(SET_ACTION(ActionManager::WM_ALLWAYS_ON_TOP, this, SLOT(updateSettings()))); viewMenu->addAction(SET_ACTION(ActionManager::WM_STICKY, this, SLOT(updateSettings()))); viewMenu->addAction(SET_ACTION(ActionManager::WM_DOUBLE_SIZE, this, SLOT(updateSettings()))); + viewMenu->addAction(SET_ACTION(ActionManager::WM_ANTIALIASING, this, SLOT(updateSettings()))); QMenu *plMenu = m_mainMenu->addMenu(tr("Playlist")); plMenu->addAction(SET_ACTION(ActionManager::REPEAT_ALL, m_ui_settings, SLOT(setRepeatableList(bool)))); -- cgit v1.2.3-13-gbd6f