mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +08:00
refs #485, moved stylesheet utility into CGuiApplication
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b73562b33c
commit
18a907086d
@@ -101,7 +101,7 @@ namespace BlackGui
|
||||
void CNavigatorDialog::ps_onStyleSheetsChanged()
|
||||
{
|
||||
const QString fn(CStyleSheetUtility::fileNameNavigator());
|
||||
const QString qss(CStyleSheetUtility::instance().style(fn));
|
||||
const QString qss(sGui->getStyleSheetUtility().style(fn));
|
||||
this->setStyleSheet(qss);
|
||||
this->repaint();
|
||||
}
|
||||
@@ -201,6 +201,5 @@ namespace BlackGui
|
||||
QString frameLessActionText = this->isFrameless() ? "Normal window" : "Frameless";
|
||||
contextMenu->addAction(BlackMisc::CIcons::tableSheet16(), frameLessActionText, this, SLOT(toggleFrameless()));
|
||||
}
|
||||
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user