MCPcopy Create free account
hub / github.com/QuiteRSS/quiterss / selectionUserStyleBrowser

Method selectionUserStyleBrowser

src/optionsdialog.cpp:2833–2847  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2831}
2832//----------------------------------------------------------------------------
2833void OptionsDialog::selectionUserStyleBrowser()
2834{
2835 QString path;
2836
2837 QFileInfo file(userStyleBrowserEdit_->text());
2838 if (file.isFile()) path = userStyleBrowserEdit_->text();
2839 else path = file.path();
2840
2841 QString fileName = QFileDialog::getOpenFileName(this,
2842 tr("Select Style Sheet File"),
2843 path, "*.css");
2844
2845 if (!fileName.isEmpty())
2846 userStyleBrowserEdit_->setText(fileName);
2847}
2848//----------------------------------------------------------------------------
2849void OptionsDialog::selectionDirDiskCache()
2850{

Callers

nothing calls this directly

Calls 2

isFileMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected