mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
fix deprecated warning QDir& QDir::operator=(const QString&)
This function is obsolete. Use QDir::setPath() instead instead.
This commit is contained in:
committed by
Laurent Trinques
parent
9ee911e484
commit
09006dc75f
@@ -72,7 +72,7 @@ void TitleBlockTemplateLogoManager::emitLogosChangedSignal() {
|
||||
Initialize widgets composing the Logo manager
|
||||
*/
|
||||
void TitleBlockTemplateLogoManager::initWidgets() {
|
||||
open_dialog_dir_ = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
|
||||
open_dialog_dir_.setPath(QStandardPaths::writableLocation(QStandardPaths::DesktopLocation));
|
||||
|
||||
setWindowTitle(tr("Gestionnaire de logos"));
|
||||
setWindowIcon(QET::Icons::InsertImage);
|
||||
|
||||
Reference in New Issue
Block a user