Commit 41e6c770 authored by scuq's avatar scuq

removed commented code

parent 85697bc5
Pipeline #408 failed with stage
in 5 minutes and 26 seconds
......@@ -122,35 +122,6 @@ void DialogPreferences::setColorChatTimestamp(const QColor &value)
this->ui->labelColorChatTimestampSample->setStyleSheet(style);
}
/*
void DialogPreferences::loadThemes()
{
QString _themedir = QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + QDir::separator() + appname;
QDir _qthemedir(_themedir);
_qthemedir.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks);
_qthemedir.setSorting(QDir::Size | QDir::Reversed);
_qthemedir.setNameFilters( QStringList() << "*.qss" );
if ( ! _qthemedir.exists() ) {
_qthemedir.mkpath(".");
QFile source(":/themes/dark.qss");
source.copy(_themedir+QDir::separator()+"dark.qss");
}
QFileInfoList filelist = _qthemedir.entryInfoList();
for (int i = 0; i < filelist.size(); ++i) {
QFileInfo fileInfo = filelist.at(i);
qInfo() << "found theme file: " << fileInfo.fileName();
this->ui->comboBoxTheme->addItem(fileInfo.fileName());
}
}
*/
QColor DialogPreferences::getColorChatNick() const
{
return colorChatNick;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment