----------------------------------------------------------------------------
| 2831 | } |
| 2832 | //---------------------------------------------------------------------------- |
| 2833 | void 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 | //---------------------------------------------------------------------------- |
| 2849 | void OptionsDialog::selectionDirDiskCache() |
| 2850 | { |